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

Skip to content

Commit ce4076c

Browse files
meeseeksmachinetimhoffm
authored andcommitted
Backport PR #12489: Fix typo in documentation of ylim (#12490)
1 parent 6c2f864 commit ce4076c

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
@@ -1457,7 +1457,7 @@ def ylim(*args, **kwargs):
14571457
*top* as kwargs, i.e.::
14581458
14591459
ylim(top=3) # adjust the top leaving bottom unchanged
1460-
ylim(bottom=1) # adjust the top leaving bottom unchanged
1460+
ylim(bottom=1) # adjust the bottom leaving top unchanged
14611461
14621462
Setting limits turns autoscaling off for the y-axis.
14631463

0 commit comments

Comments
 (0)