From: James S. <jsc...@uo...> - 2008-12-15 23:15:32
|
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? J |