12.3.10.10.2. Joint kernel#

demo jointKernel
import seaborn as sns

sns.set_theme(style="ticks")

# Load the penguins dataset
penguins = sns.load_dataset("penguins")

# Show the joint distribution using kernel density estimation
g = sns.jointplot(
    data=penguins,
    x="bill_length_mm",
    y="bill_depth_mm",
    hue="species",
    kind="kde",
)

Total running time of the script: (0 minutes 1.275 seconds)