Woops! You're absolutely right! I was completely confused!
I mixed up the new nbagg backend with the way ipython notebooks used to
display matplotlib figures. The nbagg backend is indeed interactive (and I
have no idea why key press callbacks aren't supported, then).
This is what happens when I
Nbagg is non-interactive, similar to Agg. No events other than draw events
are supported, as far as I know.
I think there are long term plans to change that (eg, webagg and
mplh5canvas), but it's a fairly tricky problem.
How that helps clarify why things aren't working, anyway.
-Joe
On Dec 4,
Thanks for the response Joe.
I guess keyboard events are just not implemented yet.
Mouse events (at least button_press_event) do seem to work.
--
View this message in context:
http://matplotlib.1069221.n5.nabble.com/Key-events-using-nbagg-backend-tp44551p44553.html
Sent from the matplotlib -
On 2014-12-04 15:40, Joe Kington wrote:
Nbagg is non-interactive, similar to Agg. No events other than draw events
are supported, as far as I know.
If that's the case, the release notes should probably make that clear.
Right now at