axes set xticks text size code example Example: matplotlib xticks font size plt.xticks(fontsize=14, rotation=90)