Matplotlib -Achse rotieren Xticks
ax.tick_params(axis='x', rotation=45)
Fantastic Ferret
ax.tick_params(axis='x', rotation=45)
plt.xticks(rotation=45)
xticks(rotation=45) # rotate x-axis labels by 45 degrees.
yticks(rotation=90) # rotate y-axis labels by 90 degrees.
# rotate xticks of a plot Matplotlib
angle = 90
plt.xticks(rotation=angle)