FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

DOC: setting active axes position is ineffective by rcomer · Pull Request #31314 · matplotlib/matplotlib · GitHub

Repository navigation

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .py  (1) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
9 changes: 9 additions & 0 deletions lib/matplotlib/axes/_base.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -1175,6 +1175,15 @@ def set_position(self, pos, which='both'):
which : {'both', 'active', 'original'}, default: 'both'
Determines which position variables to change.

.. note::
This parameter is considered internal. End users should not use it.

For native Matplotlib `.Axes`, the active position is
determined by a combination of the original position and the
aspect ratio. Any active position set by the user will therefore be
overwritten by internal handling. This option is retained as it may be
relevant for some third party `.Axes` subclasses.
Comment thread
rcomer marked this conversation as resolved.

See Also
--------
matplotlib.transforms.Bbox.from_bounds
Expand Down
Loading

Back | FazBrowse Home | New Git URL