From 1b62b1a72a9a4ffd8321774e432537f498d6c645 Mon Sep 17 00:00:00 2001 From: Antony Lee Date: Wed, 21 Sep 2022 18:03:08 +0200 Subject: [PATCH] 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)