xtick label size matplotlib code example Example: matplotlib xticks font size plt.xticks(fontsize=14, rotation=90)