set xticks font matplotlib site:stackoverflow.com code example Example: how to change size of xticks plt.xticks(fontsize=14, rotation=90)