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 d9c3dab

Browse filesBrowse files
anntzermeeseeksmachine
authored andcommitted
Backport PR #16851: DOC: Fix docstring of Axes.secondary_yaxis.
1 parent a1eb4e5 commit d9c3dab
Copy full SHA for d9c3dab

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
@@ -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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.