Graficación de distribuciones conjuntas y marginales con joinplot() —#
0:00 min | Última modificación: Octubre 13, 2021 | [YouTube]
[1]:
import matplotlib.pyplot as plt
import seaborn as sns
[2]:
penguins = sns.load_dataset("penguins")
[3]:
sns.jointplot(data=penguins, x="bill_length_mm", y="bill_depth_mm",)
plt.show()

[4]:
sns.jointplot(
data=penguins,
x="bill_length_mm", y="bill_depth_mm", hue="species",
kind="kde"
)
plt.show()
