matplotlib set tick font size code example
Example 1: ticks font size matplotlib
ax.tick_params(axis='both', which='major', labelsize=10)
Example 2: matplotlib xticks font size
plt.xticks(fontsize=14, rotation=90)
ax.tick_params(axis='both', which='major', labelsize=10)
plt.xticks(fontsize=14, rotation=90)