8000 Fix typo in implementation of quit_all_keys. · matplotlib/matplotlib@93a160f · GitHub
[go: up one dir, main page]

Skip to content

Commit 93a160f

Browse files
committed
Fix typo in implementation of quit_all_keys.
The wrong lookup caused "q" to incorrectly close all windows.
1 parent 1c93e76 commit 93a160f

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
@@ -2333,7 +2333,7 @@ def key_press_handler(event, canvas, toolbar=None):
23332333
zoom_keys = rcParams['keymap.zoom']
23342334
save_keys = rcParams['keymap.save']
23352335
quit_keys = rcParams['keymap.quit']
2336-
quit_all_keys = rcParams['keymap.quit']
2336+
quit_all_keys = rcParams['keymap.quit_all']
23372337
grid_keys = rcParams['keymap.grid']
23382338
grid_minor_keys = rcParams['keymap.grid_minor']
23392339
toggle_yscale_keys = rcParams['keymap.yscale']

0 commit comments

Comments
 (0)
0