matplotlib.axis.YAxis.set_major_locator

YAxis.set_major_locator(locator)

设置主断续器的定位器。

参数:
定位器Locator定位器

使用实例 matplotlib.axis.YAxis.set_major_locator