Skip to content

Commit ecba9d2

Browse files
authored
Merge pull request #23618 from haziq-khurshid/feature-23583
[Doc]: Document the position parameter in apply_aspect()
2 parents 5b5cc0e + 18dd1a7 commit ecba9d2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

lib/matplotlib/axes/_base.py

+7
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)