W3cubDocs

/Matplotlib 2.0

matplotlib.axis.YAxis.set_major_locator

YAxis.set_major_locator(locator)

Set the locator of the major ticker

ACCEPTS: a Locator instance

© 2012–2017 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
http://matplotlib.org/2.0.2/api/_as_gen/matplotlib.axis.YAxis.set_major_locator.html