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