File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -387,9 +387,17 @@ def update_ticks(self):
387
387
388
388
def set_ticks (self , ticks , update_ticks = True ):
389
389
"""
390
- set tick locations. Tick locations are updated immediately unless
391
- update_ticks is *False*. To manually update the ticks, call
392
- *update_ticks* method explicitly.
390
+ Set tick locations.
391
+
392
+ Parameters
393
+ ----------
394
+ ticks : {None, sequence, :class:`~matplotlib.ticker.Locator` instance}
395
+ If None, a default Locator will be used.
396
+
397
+ update_ticks : {True, False}, optional
398
+ If True, tick locations are updated immediately. If False,
399
+ use :meth:`update_ticks` to manually update the ticks.
400
+
393
401
"""
394
402
if cbook .iterable (ticks ):
395
403
self .locator = ticker .FixedLocator (ticks , nbins = len (ticks ))
You can’t perform that action at this time.
0 commit comments