matplotlib.axis.YAxis.get_ticklocs

YAxis.get_ticklocs(minor=False)

Get the array of tick locations in data coordinates.