rotate view y axis matplotlib 3d code example Example: rotate axis labels matplotlib plt.xticks(rotation=90)