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

Skip to content

Commit 0468701

Browse files
committed
DOC: setting active axes position is ineffective
1 parent fd14ae5 commit 0468701

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

lib/matplotlib/axes/_base.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1175,6 +1175,13 @@ 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+
For native Matplotlib `.Axes`, the active position is
1180+
determined by a combination of the original position and the
1181+
aspect ratio. Setting the active position directly is
1182+
therefore not effective. This option is retained as it may be
1183+
relevant for some third party `.Axes` subclasses.
1184+
11781185
See Also
11791186
--------
11801187
matplotlib.transforms.Bbox.from_bounds

0 commit comments

Comments
 (0)