Matplotlib and seaborn 3 · Chart types

Pie chart

Show parts of a whole. Use sparingly: bars are easier to compare.

plt.pie([40, 35, 25], labels=["A", "B", "C"], autopct="%1.0f%%")

Official Matplotlib and seaborn 3 documentation

More chart types commands

All chart types commands · Matplotlib and seaborn 3 cheatsheet

Was this page helpful?