Hi,
I am experiencing something a bit strange with 'key_press_event': The event is
not detected unless I click with the mouse on the canvas (The grey area around
the axis). I verified this with my own code as well as with some unmodified
example (
http://matplotlib.sourceforge.net/examples/event_handling/keypress_demo.html?highlight=key_press_event
).
I built mpl from a recent revision (a few days old).
Does anyone else experience this? Is this the expected behavior? I believe it
was enough to have the figure window focused to get key events before, but I
haven't used this feature for some time.
Thanks,
Jorges
Which backend and platform are you using?
Ben Root
···
On Thu, Oct 13, 2011 at 9:52 PM, Jorge Scandaliaris <jorgesmbox-ml@…1664…> wrote:
Hi,
I am experiencing something a bit strange with ‘key_press_event’: The event is
not detected unless I click with the mouse on the canvas (The grey area around
the axis). I verified this with my own code as well as with some unmodified
example (
http://matplotlib.sourceforge.net/examples/event_handling/keypress_demo.html?highlight=key_press_event
).
I built mpl from a recent revision (a few days old).
Does anyone else experience this? Is this the expected behavior? I believe it
was enough to have the figure window focused to get key events before, but I
haven’t used this feature for some time.
Thanks,
Jorges