Re: [Matplotlib-users] Key events using nbagg backend

2014-12-05 Thread Joe Kington
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

[Matplotlib-users] Key events using nbagg backend

2014-12-04 Thread reem17
I'm using matplotlib version 1.4.2 on linux and am having trouble getting key event callbacks when using the nbagg backend in an ipython notebook (i've tried in firefox and chromium). The key press events seem to not be processed (no matter what key I try to press). This code does work with the

Re: [Matplotlib-users] Key events using nbagg backend

2014-12-04 Thread Joe Kington
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,

Re: [Matplotlib-users] Key events using nbagg backend

2014-12-04 Thread reem17
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 -

Re: [Matplotlib-users] Key events using nbagg backend

2014-12-04 Thread Brendan Barnwell
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