Matplotlib and seaborn 3 · Chart types

Horizontal bar chart

A better choice when category names are long.

plt.barh(["Alpha", "Beta", "Gamma"], [5, 9, 3])

Official Matplotlib and seaborn 3 documentation

More chart types commands

All chart types commands · Matplotlib and seaborn 3 cheatsheet

Was this page helpful?