matplotlib.axis.XAxis.get_majorticklocs

XAxis.get_majorticklocs(self)

Get the array of major tick locations in data coordinates.