matplotlib.axis
matplotlib.axis.XAxis.get_major_locator
XAxis.
get_major_locator
Get the locator of the major ticker
Inset Locator Demo2¶