Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Description
I've just wasted a whole day trying to debug my event-handling code that intercepted the 'key_press_event'. In the end it turned out the key I was trying to handle ('l') was a known keyboard shortcut for Matplotlib athttps://matplotlib.org/users/navigation_toolbar.html#navigation-keyboard-shortcuts and that all I had to do was use a different letter instead: a one-character fix!
I might have been less likely to have made this mistake had there been some reference to the pre-defined keyboard shortcuts somewhere in the event-handling tutorial athttps://matplotlib.org/users/event_handling.html. Perhaps have a note next to the entries for the 'key_press_event' and 'key_release_event' in the table of events underhttps://matplotlib.org/users/event_handling.html#event-connections ? In general, though, the Matplotlib docs are superb.