Hi, Pressing tab, the "Windows" key or the right click key (and maybe others) on a plot with the GTKAgg or GTK backend causes the following traceback:
Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/matplotlib/backends/backend_gtk.py", line 264, in key_press_event FigureCanvasBase.key_press_event(self, key, guiEvent=event) File "/usr/lib/python2.5/site-packages/matplotlib/backend_bases.py", line 1459, in key_press_event self.callbacks.process(s, event) File "/usr/lib/python2.5/site-packages/matplotlib/cbook.py", line 259, in process proxy(*args, **kwargs) File "/usr/lib/python2.5/site-packages/matplotlib/cbook.py", line 185, in __call__ return mtd(*args, **kwargs) File "/usr/lib/python2.5/site-packages/matplotlib/backend_bases.py", line 2079, in key_press if event.key in fullscreen_keys: TypeError: 'in <string>' requires string as left operand This happens because in these cases the key is None. The WXAgg backend doesn't have this bug (I haven't tested qt nor tk backends). Debian Squeeze (testing) using Python 2.5 and the latest mpl SVN (rev 8360). Regards, João Silva ------------------------------------------------------------------------------ _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel