Rotate axis text in python matplotlib September 15, 2022 by Tarik This works for me: plt.xticks(rotation=90)