tick length matplotlib code example
Example: axis number size matplotlib
ax.tick_params(axis="x", labelsize=8)
ax.tick_params(axis="y", labelsize=20)
ax.tick_params(axis="x", labelsize=8)
ax.tick_params(axis="y", labelsize=20)