Version 3.0.3
matplotlib
Fork me on GitHub

matplotlib.axis.YAxis.get_ticklocs

YAxis.get_ticklocs(minor=False)

Get the tick locations in data coordinates as a numpy array