Skip to content

Commit 80a68b5

Browse files
authored
Merge pull request matplotlib#16852 from meeseeksmachine/auto-backport-of-pr-16851-on-v3.2.x
Backport PR matplotlib#16851 on branch v3.2.x (DOC: Fix docstring of Axes.secondary_yaxis.)
2 parents a1eb4e5 + d9c3dab commit 80a68b5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -654,6 +654,7 @@ def invert(x):
654654
raise ValueError('secondary_xaxis location must be either '
655655
'a float or "top"/"bottom"')
656656

657+
@docstring.dedent_interpd
657658
def secondary_yaxis(self, location, *, functions=None, **kwargs):
658659
"""
659660
Add a second y-axis to this axes.

0 commit comments

Comments
 (0)