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
http://matplotlib.org/users/whats_new.html#the-nba
Hi
Your code wans't included, but try setting your x and y limits *before* the
call to clabel. I think that the problem is that clabel makes a space in the
contours according to how large your font is, but if you then resize the plot
(zoom in) then the blank space is too large for the labels.
I have trouble with matplotlib / pyplot / basemap. I plot contour lines (air
pressure) on a map. I use clabel to show the value of the contour lines. But
the problem: the padding between the value and the contour line is too much.
I have found the parameter "inline_spacing", which i have set to zer
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 - us
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, 201
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 qt