Waleed
0
Q:

rotate labels matplotlib

xticks(rotation=45) # rotate x-axis labels by 45 degrees.
yticks(rotation=90) # rotate y-axis labels by 90 degrees.
3
plt.xticks(rotation=90)
1
# rotate xticks of a plot Matplotlib
angle = 90
plt.xticks(rotation=angle)
1

New to Communities?

Join the community