I am running this sample script, with the following modifications:
import matplotlib as mpl from mpl_toolkits.mplot3d import Axes3D import numpy as np import mat
The for loop is not necessary, to change the size of your ticks you can use:
ax.zaxis.set_tick_params(labelsize=10)