ax.tick_params code example
Example 1: axis number size matplotlib
ax.tick_params(axis="x", labelsize=8)
ax.tick_params(axis="y", labelsize=20)
Example 2: ax tick params
ax.tick_params(axis='both', which='major', labelsize=10)
ax.tick_params(axis="x", labelsize=8)
ax.tick_params(axis="y", labelsize=20)
ax.tick_params(axis='both', which='major', labelsize=10)