8000 Backport PR #12489: Fix typo in documentation of ylim · matplotlib/matplotlib@b1d1a1d · GitHub
[go: up one dir, main page]

Skip to content

Commit b1d1a1d

Browse files
ImportanceOfBeingErnestMeeseeksDev[bot]
authored andcommitted
Backport PR #12489: Fix typo in documentation of ylim
1 parent da16098 commit b1d1a1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/pyplot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1456,7 +1456,7 @@ def ylim(*args, **kwargs):
14561456
*top* as kwargs, i.e.::
14571457
14581458
ylim(top=3) # adjust the top leaving bottom unchanged
1459-
ylim(bottom=1) # adjust the top leaving bottom unchanged
1459+
ylim(bottom=1) # adjust the bottom leaving top unchanged
14601460
14611461
Setting limits turns autoscaling off for the y-axis.
14621462

0 commit comments

Comments
 (0)
0