Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5679c28

Browse files
authored
Merge pull request #16851 from QuLogic/fix-secondary-doc
DOC: Fix docstring of Axes.secondary_yaxis.
2 parents 7b745ad + 82690b6 commit 5679c28

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
@@ -653,6 +653,7 @@ def invert(x):
653653
raise ValueError('secondary_xaxis location must be either '
654654
'a float or "top"/"bottom"')
655655

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

0 commit comments

Comments
 (0)