Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 486efee

Browse files
committed
DOC: setting active axes position is ineffective
1 parent 809ad23 commit 486efee

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

lib/matplotlib/axes/_base.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1175,6 +1175,15 @@ def set_position(self, pos, which='both'):
11751175
which : {'both', 'active', 'original'}, default: 'both'
11761176
Determines which position variables to change.
11771177
1178+
.. note::
1179+
This parameter is considered internal. End users should not use it.
1180+
1181+
For native Matplotlib `.Axes`, the active position is
1182+
determined by a combination of the original position and the
1183+
aspect ratio. Any active position set by the user will therefore be
1184+
overwritten by internal handling. This option is retained as it may be
1185+
relevant for some third party `.Axes` subclasses.
1186+
11781187
See Also
11791188
--------
11801189
matplotlib.transforms.Bbox.from_bounds

0 commit comments

Comments
 (0)