Matplotlib and seaborn 3 · Layout and styling

Rotate tick labels

Rotate crowded labels on the x-axis.

plt.xticks(rotation=45, ha="right")

Official Matplotlib and seaborn 3 documentation

More layout and styling commands

All layout and styling commands · Matplotlib and seaborn 3 cheatsheet

Was this page helpful?