Version 3.0.3
matplotlib
Fork me on GitHub

matplotlib.axis.XAxis.get_ticklocs

XAxis.get_ticklocs(minor=False)

Get the tick locations in data coordinates as a numpy array