Matplotlib and seaborn 3 · seaborn
Histogram with density
A histogram with a smooth density curve on top.
df = sns.load_dataset("penguins")
sns.histplot(data=df, x="flipper_length_mm", kde=True)
Official Matplotlib and seaborn 3 documentation
Matplotlib and seaborn 3 · seaborn
A histogram with a smooth density curve on top.
df = sns.load_dataset("penguins")
sns.histplot(data=df, x="flipper_length_mm", kde=True)
Official Matplotlib and seaborn 3 documentation
Was this page helpful?