From f531e86cab2b00ee07f55897abe88da73f472b38 Mon Sep 17 00:00:00 2001 From: Joel Wanner Date: Thu, 11 Oct 2018 08:57:50 +0200 Subject: [PATCH] Fix typo in documentation --- lib/matplotlib/pyplot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/matplotlib/pyplot.py b/lib/matplotlib/pyplot.py index d07994f3ee45..6ceced49285c 100644 --- a/lib/matplotlib/pyplot.py +++ b/lib/matplotlib/pyplot.py @@ -1425,7 +1425,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.