Version 3.0.3
Fork me on GitHub
Navigation
index
modules
|
next
|
previous
|
home
|
examples
|
tutorials
|
API
|
docs
»
The Matplotlib API
»
axis and tick API
»
Quick search
Related Topics
Documentation overview
The Matplotlib API
axis and tick API
Previous:
matplotlib.axis.YAxis.set_major_formatter
Next:
matplotlib.axis.YAxis.set_minor_formatter
Show Page Source
matplotlib.axis.YAxis.set_major_locator
¶
YAxis.
set_major_locator
(
locator
)
¶
Set the locator of the major ticker.
Parameters:
locator
:
~matplotlib.ticker.Locator