matplotlib.axis
Axis.
get_majorticklocs
Get the major tick locations in data coordinates as a numpy array