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