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