From 82690b65e6f17711945136c8b687a347559f443a Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Fri, 20 Mar 2020 00:48:32 -0400 Subject: [PATCH] DOC: Fix docstring of Axes.secondary_yaxis. --- lib/matplotlib/axes/_axes.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/matplotlib/axes/_axes.py b/lib/matplotlib/axes/_axes.py index 921a8054d010..ba0da395bea1 100644 --- a/lib/matplotlib/axes/_axes.py +++ b/lib/matplotlib/axes/_axes.py @@ -653,6 +653,7 @@ def invert(x): raise ValueError('secondary_xaxis location must be either ' 'a float or "top"/"bottom"') + @docstring.dedent_interpd def secondary_yaxis(self, location, *, functions=None, **kwargs): """ Add a second y-axis to this axes.