On Wed, Dec 17, 2008 at 1:24 PM, James Schombert <jscho...@uoregon.edu> wrote:
> Using matplotlib 0.98.5 on OSX 10.5, the following error
> occurs for many key_press events using the standard
> connect class - letter such as c,v,s etc (and most important, backspace)
>
> Exception in Tkinter callback
> Traceback (most recent call last):
> File
> "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-tk/Tkinter.py",
> line 1403, in __call__
> return self.func(*args)
> File
> "/Library/Python/2.5/site-packages/matplotlib/backends/backend_tkagg.py",line
> 312, in key_press
> FigureCanvasBase.key_press_event(self, key, guiEvent=event)
> File "/Library/Python/2.5/site-packages/matplotlib/backend_bases.py",
> line 1122, in key_press_event
> self.callbacks.process(s, event)
> File "/Library/Python/2.5/site-packages/matplotlib/cbook.py", line 155,
> in process
> func(*args, **kwargs)
> File "/Library/Python/2.5/site-packages/matplotlib/backend_bases.py",
> line 1626, in key_press
> self.canvas.toolbar.back()
> AttributeError: FigureCanvasTkAgg instance has no attribute 'toolbar'
>
> would a full list of the "bad" keys help

I am not seeing this on the 0.98.5 release candidate.  I fire up

 > python simple_plot.py -dTkAgg

and click 'c' somewhere on the figure/axes, or 'delete' and I am not
getting the traceback.

JDH

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to