Skip to content

Commit f8583e0

Browse files
LangQi99timhoffm
andauthored
Update lib/matplotlib/backend_bases.py
"X" would be generated by "Shift+x" Co-authored-by: Tim Hoffmann <[email protected]>
1 parent b63a782 commit f8583e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/backend_bases.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2592,7 +2592,7 @@ def scroll_handler(event, canvas=None, toolbar=None):
25922592
# is required for interactive navigation.
25932593
return
25942594

2595-
if event.key in {"control", "x", "X", "y", "Y"}: # zoom towards the mouse position
2595+
if event.key in {"control", "x", "y"}: # zoom towards the mouse position
25962596
toolbar.push_current()
25972597

25982598
xmin, xmax = ax.get_xlim()

0 commit comments

Comments
 (0)