From: Andrew S. <str...@as...> - 2005-04-13 02:40:46
|
Hi All, On my debian sarge (testing) box, I'm getting the following error with the latest CVS code, WXAgg backend and numerix = numarray. I don't get a similar error with GTKAgg, so I think it has to do with the WX backend. My thinking is that we should fix this before the 0.80 release. Unfortunately, I don't have time to delve in right now. $ python simple_plot.py Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/matplotlib/backends/backend_wx.py", line 1067, in _onSize self.draw() File "/usr/lib/python2.3/site-packages/matplotlib/backends/backend_wxagg.py", line 61, in draw self.gui_repaint() File "/usr/lib/python2.3/site-packages/matplotlib/backends/backend_wx.py", line 897, in gui_repaint drawDC.DrawBitmap(self.bitmap, 0, 0) File "/home/ron/devel/debian/wxwindows/2.5.1.1-debs/wxwidgets2.5-2.5.1.1/wxPython/../debian/libwxgtk2.5-python/usr/lib/python2.3/site-packages/wx/gdi.py", line 2397, in DrawBitmap TypeError: Expected a 2-tuple of integers or a wxPoint object. Traceback (most recent call last): File "simple_plot.py", line 8, in ? plot(t, s) File "/usr/lib/python2.3/site-packages/matplotlib/pylab.py", line 1900, in plot draw_if_interactive() File "/usr/lib/python2.3/site-packages/matplotlib/backends/backend_wx.py", line 1161, in draw_if_interactive figManager.canvas.draw() File "/usr/lib/python2.3/site-packages/matplotlib/backends/backend_wxagg.py", line 61, in draw self.gui_repaint() File "/usr/lib/python2.3/site-packages/matplotlib/backends/backend_wx.py", line 897, in gui_repaint drawDC.DrawBitmap(self.bitmap, 0, 0) File "/home/ron/devel/debian/wxwindows/2.5.1.1-debs/wxwidgets2.5-2.5.1.1/wxPython/../debian/libwxgtk2.5-python/usr/lib/python2.3/site-packages/wx/gdi.py", line 2397, in DrawBitmap TypeError: Expected a 2-tuple of integers or a wxPoint object. |