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 18dd1a7

Browse filesBrowse files
[Doc]: Document the position parameter in apply_aspect()
1 parent 5b5cc0e commit 18dd1a7
Copy full SHA for 18dd1a7

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+7
-0
lines changed

‎lib/matplotlib/axes/_base.py

Copy file name to clipboardExpand all lines: lib/matplotlib/axes/_base.py
+7Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1863,6 +1863,13 @@ def apply_aspect(self, position=None):
18631863
Axes box (position) or the view limits. In the former case,
18641864
`~matplotlib.axes.Axes.get_anchor` will affect the position.
18651865
1866+
Parameters
1867+
----------
1868+
position : None or .Bbox
1869+
If not ``None``, this defines the position of the
1870+
Axes within the figure as a Bbox. See `~.Axes.get_position`
1871+
for further details.
1872+
18661873
Notes
18671874
-----
18681875
This is called automatically when each Axes is drawn. You may need

0 commit comments

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