From 4fbcc2d1a2d98935aecc537f0fa6679a0367ab22 Mon Sep 17 00:00:00 2001 From: Jody Klymak Date: Tue, 6 Oct 2020 08:19:59 -0700 Subject: [PATCH 1/2] DOC: fix autoscale docstring --- lib/matplotlib/axes/_base.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/matplotlib/axes/_base.py b/lib/matplotlib/axes/_base.py index 49eee82679a0..642b7ca8b394 100644 --- a/lib/matplotlib/axes/_base.py +++ b/lib/matplotlib/axes/_base.py @@ -2301,7 +2301,7 @@ def get_autoscaley_on(self): def set_autoscale_on(self, b): """ - Set whether autoscaling is applied on plot commands + Set whether autoscaling is applied to axes on the next draw. Parameters ---------- @@ -2312,7 +2312,8 @@ def set_autoscale_on(self, b): def set_autoscalex_on(self, b): """ - Set whether autoscaling for the x-axis is applied on plot commands + Set whether autoscaling for the x-axis is applied to axes on the next + draw. Parameters ---------- @@ -2322,7 +2323,8 @@ def set_autoscalex_on(self, b): def set_autoscaley_on(self, b): """ - Set whether autoscaling for the y-axis is applied on plot commands + Set whether autoscaling for the y-axis is applied to axes on the next + draw. Parameters ---------- From af2264861c58fcefc851b0a544e41e8bd0d77479 Mon Sep 17 00:00:00 2001 From: Jody Klymak Date: Tue, 6 Oct 2020 08:34:51 -0700 Subject: [PATCH 2/2] DOC: fix autoscale docstring --- lib/matplotlib/axes/_base.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/matplotlib/axes/_base.py b/lib/matplotlib/axes/_base.py index 642b7ca8b394..dad33c7c872c 100644 --- a/lib/matplotlib/axes/_base.py +++ b/lib/matplotlib/axes/_base.py @@ -2301,7 +2301,8 @@ def get_autoscaley_on(self): def set_autoscale_on(self, b): """ - Set whether autoscaling is applied to axes on the next draw. + Set whether autoscaling is applied to axes on the next draw or call to + `.Axes.autoscale_view`. Parameters ---------- @@ -2313,7 +2314,7 @@ def set_autoscale_on(self, b): def set_autoscalex_on(self, b): """ Set whether autoscaling for the x-axis is applied to axes on the next - draw. + draw or call to `.Axes.autoscale_view`. Parameters ---------- @@ -2324,7 +2325,7 @@ def set_autoscalex_on(self, b): def set_autoscaley_on(self, b): """ Set whether autoscaling for the y-axis is applied to axes on the next - draw. + draw or call to `.Axes.autoscale_view`. Parameters ----------