matplotlib.axis.XAxis.get_ticklocs

XAxis.get_ticklocs(minor=False)

Get the array of tick locations in data coordinates.