diff --git a/lib/matplotlib/pyplot.py b/lib/matplotlib/pyplot.py index 2a8fbc54fd4e..32c858452eb2 100644 --- a/lib/matplotlib/pyplot.py +++ b/lib/matplotlib/pyplot.py @@ -1457,7 +1457,7 @@ def ylim(*args, **kwargs): *top* as kwargs, i.e.:: ylim(top=3) # adjust the top leaving bottom unchanged - ylim(bottom=1) # adjust the top leaving bottom unchanged + ylim(bottom=1) # adjust the bottom leaving top unchanged Setting limits turns autoscaling off for the y-axis.