Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Mention predefined keyboard shortcuts in the docs on event-handling #11472

Closed
Milestone
@cacti77

Description

@cacti77

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp