From deb1daf5fcba1e9a4299bc639f750b52a29eb44c Mon Sep 17 00:00:00 2001 From: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com> Date: Tue, 21 Sep 2021 13:22:36 +0200 Subject: [PATCH] Backport PR #21122: CTRL does not fix aspect in zoom-to-rect mode. --- lib/matplotlib/backend_bases.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/matplotlib/backend_bases.py b/lib/matplotlib/backend_bases.py index 89a3980de52a..bdeb0b31cbf2 100644 --- a/lib/matplotlib/backend_bases.py +++ b/lib/matplotlib/backend_bases.py @@ -2911,8 +2911,7 @@ class NavigationToolbar2: 'Left button pans, Right button zooms\n' 'x/y fixes axis, CTRL fixes aspect', 'move', 'pan'), - ('Zoom', 'Zoom to rectangle\nx/y fixes axis, CTRL fixes aspect', - 'zoom_to_rect', 'zoom'), + ('Zoom', 'Zoom to rectangle\nx/y fixes axis', 'zoom_to_rect', 'zoom'), ('Subplots', 'Configure subplots', 'subplots', 'configure_subplots'), (None, None, None, None), ('Save', 'Save the figure', 'filesave', 'save_figure'),