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

Skip to content

Commit f531e86

Browse files
author
Joel Wanner
committed
Fix typo in documentation
1 parent dab005d commit f531e86

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
@@ -1425,7 +1425,7 @@ def ylim(*args, **kwargs):
14251425
*top* as kwargs, i.e.::
14261426
14271427
ylim(top=3) # adjust the top leaving bottom unchanged
1428-
ylim(bottom=1) # adjust the top leaving bottom unchanged
1428+
ylim(bottom=1) # adjust the bottom leaving top unchanged
14291429
14301430
Setting limits turns autoscaling off for the y-axis.
14311431

0 commit comments

Comments
 (0)