Version 3.1.2
matplotlib
Fork me on GitHub

matplotlib.axis.XAxis.get_major_locator

XAxis.get_major_locator(self)

Get the locator of the major ticker