On Nov 20, 2007, at 5:09 PM, John Hunter wrote:
> Are you on this box now to verify the problem? There was a bug in
> keypress_demo, because the demo was using 'g' to turn the grid on and
> off and the default key interaction was doing the same, resulting in a
> double toggle and no change. I fixed this bug in svn. I looked
> through the diffs from r3393 to present and cannot find anything which
> explains the difference.
>
> I'm assuming that some of the other key events (eg press 'x' when
> panning to constrain the zoom to the x axis) are also failing. And
> you have the window focus (click on the subplot) when testing...
So I re-installed from the latest SVN, and can re-confirm that
keypress events do not work. I also noticed that this error message
shows up (the one you allude to above):
2007-11-20 18:13:23.074 Python[24184] *** _NSAutoreleaseNoPool():
Object 0x409e190 of class NSCarbonWindowContentView autoreleased with
no pool in place - just leaking
This error message does _not_ appear when I revert back to the
2007-11-7 version where keypress events work. I am not sure if they
are related, but it seems likely. This error shows up when a figure
is created (I used ipython and debug-annoying, as the error does not
appear in a debug log):
>>> figure()
FigureCanvasAgg.draw
RendererAgg.__init__
RendererAgg.__init__ width=640.0, height=480.0
RendererAgg.__init__ _RendererAgg done
RendererAgg.__init__ done
2007-11-20 18:21:32.073 Python[24293] *** _NSAutoreleaseNoPool():
Object 0x180822b0 of class NSCarbonWindowContentView autoreleased
with no pool in place - just leaking
FigureCanvasAgg.draw
RendererAgg.__init__
RendererAgg.__init__ width=654.0, height=494.0
RendererAgg.__init__ _RendererAgg done
RendererAgg.__init__ done
<matplotlib.figure.Figure instance at 0x18618e40>
>>>
-Rob
----
Rob Hetland, Associate Professor
Dept. of Oceanography, Texas A&M University
http://pong.tamu.edu/~rob
phone: 979-458-0096, fax: 979-845-6331
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel