Version 3.0.2
matplotlib
Fork me on GitHub

matplotlib.axis.XAxis.get_majorticklocs

XAxis.get_majorticklocs()

Get the major tick locations in data coordinates as a numpy array