Skip to content

Commit 97ff8a9

Browse files
story645meeseeksmachine
authored andcommitted
Backport PR #23975: Reword docstring of reset_position.
1 parent 5bef1a2 commit 97ff8a9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/matplotlib/axes/_base.py

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