Matplotlib and seaborn 3 · seaborn

Box plot by category

Compare a variable across groups.

sns.boxplot(data=df, x="species", y="body_mass_g")

Official Matplotlib and seaborn 3 documentation

More seaborn commands

All seaborn commands · Matplotlib and seaborn 3 cheatsheet

Was this page helpful?