Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5679c28

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

File tree

Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed

‎lib/matplotlib/axes/_axes.py

Copy file name to clipboardExpand all lines: lib/matplotlib/axes/_axes.py
+1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.