MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / key_press

Method key_press

lib/matplotlib/backends/_backend_tk.py:457–460  ·  view source on GitHub ↗
(self, event)

Source from the content-addressed store, hash-verified

455 return "+".join([*mods, key])
456
457 def key_press(self, event):
458 KeyEvent("key_press_event", self,
459 self._get_key(event), *self._event_mpl_coords(event),
460 guiEvent=event)._process()
461
462 def key_release(self, event):
463 KeyEvent("key_release_event", self,

Callers

nothing calls this directly

Calls 4

_get_keyMethod · 0.95
_event_mpl_coordsMethod · 0.95
KeyEventClass · 0.90
_processMethod · 0.80

Tested by

no test coverage detected