Answers for "how to rotate axis labels in python"

5

rotate axis labels matplotlib

plt.xticks(rotation=90)
Posted by: Guest on May-13-2020
0

rotate existing labels python

for ax in [ax1,ax2,ax3]:
    for label in ax.get_xticklabels():
        label.set_rotation(90)
Posted by: Guest on June-10-2020

Code answers related to "how to rotate axis labels in python"

Python Answers by Framework

Browse Popular Code Answers by Language