8000 [Doc]: Document the position parameter in apply_aspect() · matplotlib/matplotlib@18dd1a7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 18dd1a7

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

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

lib/matplotlib/axes/_base.py

Lines 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