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

Skip to content

Commit a152851

Browse files
authored
Merge pull request #23975 from anntzer/rp
Reword docstring of reset_position.
2 parents cb9ae92 + 1b62b1a commit a152851

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/matplotlib/axes/_base.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1108,8 +1108,9 @@ def reset_position(self):
11081108
"""
11091109
Reset the active position to the original position.
11101110
1111-
This resets the possible position change due to aspect constraints.
1112-
For an explanation of the positions see `.set_position`.
1111+
This undoes changes to the active position (as defined in
1112+
`.set_position`) which may have been performed to satisfy fixed-aspect
1113+
constraints.
11131114
"""
11141115
for ax in self._twinned_axes.get_siblings(self):
11151116
pos = ax.get_position(original=True)

0 commit comments

Comments
 (0)