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 686aab6

Browse filesBrowse files
authored
Merge pull request #24443 from dstansby/xaxis-trans-param-doc
Add valid values to `get_*axis_transform` docstring
2 parents d95edc4 + 0564569 commit 686aab6
Copy full SHA for 686aab6

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+8
-0
lines changed

‎lib/matplotlib/axes/_base.py

Copy file name to clipboardExpand all lines: lib/matplotlib/axes/_base.py
+8Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -926,6 +926,10 @@ def get_xaxis_transform(self, which='grid'):
926926
`~matplotlib.axis.Axis` class, and is meant to be
927927
overridden by new kinds of projections that may need to
928928
place axis elements in different locations.
929+
930+
Parameters
931+
----------
932+
which : {'grid', 'tick1', 'tick2'}
929933
"""
930934
if which == 'grid':
931935
return self._xaxis_transform
@@ -1002,6 +1006,10 @@ def get_yaxis_transform(self, which='grid'):
10021006
`~matplotlib.axis.Axis` class, and is meant to be
10031007
overridden by new kinds of projections that may need to
10041008
place axis elements in different locations.
1009+
1010+
Parameters
1011+
----------
1012+
which : {'grid', 'tick1', 'tick2'}
10051013
"""
10061014
if which == 'grid':
10071015
return self._yaxis_transform

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.