Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5496147

Browse files
authored
Merge pull request #12491 from meeseeksmachine/auto-backport-of-pr-12489-on-v3.0.0-doc
Backport PR #12489 on branch v3.0.0-doc (Fix typo in documentation of ylim)
2 parents da16098 + b1d1a1d commit 5496147

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)