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
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.