From 97ff8a9761af6ca4fbfc777c3a649062f354fdda Mon Sep 17 00:00:00 2001 From: hannah Date: Wed, 21 Sep 2022 13:22:36 -0400 Subject: [PATCH] Backport PR #23975: Reword docstring of reset_position. --- lib/matplotlib/axes/_base.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/matplotlib/axes/_base.py b/lib/matplotlib/axes/_base.py index ebe1ef7911d4..4f805e017741 100644 --- a/lib/matplotlib/axes/_base.py +++ b/lib/matplotlib/axes/_base.py @@ -1108,8 +1108,9 @@ def reset_position(self): """ Reset the active position to the original position. - This resets the possible position change due to aspect constraints. - For an explanation of the positions see `.set_position`. + This undoes changes to the active position (as defined in + `.set_position`) which may have been performed to satisfy fixed-aspect + constraints. """ for ax in self._twinned_axes.get_siblings(self): pos = ax.get_position(original=True)