8000 Document that set_ticks() increases view limits if necessary · matplotlib/matplotlib@a67bfc0 · GitHub
[go: up one dir, main page]

Skip to content

Commit a67bfc0

Browse files
committed
Document that set_ticks() increases view limits if necessary
1 parent 278cdbe commit a67bfc0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/matplotlib/axis.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1801,6 +1801,9 @@ def set_ticks(self, ticks, minor=False):
18011801
"""
18021802
Set this Axis' tick locations.
18031803
1804+
If necessary, the view limits of the Axis are expanded so that all
1805+
given ticks are visible.
1806+
18041807
Parameters
18051808
----------
18061809
ticks : list of floats

0 commit comments

Comments
 (0)
0