Hello, I recently downloaded scipy and tried to run the following according to the "Plotting tutorial" page on the scipy home-page:
import gui_thread gui_thread.start() <wxPython imported>
from scipy import plt plt.plot((1,2,3))
A window pops up and I get the following error: (this error in fact repeats itself infinitely on the console till I interrupt it). Traceback (most recent call last): File "C:\Python23\Lib\site-packages\scipy\plt\wxplt.py", line 143, in on_paint self.draw(wx.wxPaintDC(self)) File "C:\Python23\Lib\site-packages\scipy\plt\wxplt.py", line 424, in draw self.draw_graph_area(dc) File "C:\Python23\Lib\site-packages\scipy\plt\wxplt.py", line 379, in draw_graph_area int(gb.width()+2),int(gb.height()+2)) File "C:\Python23\Lib\site-packages\wx\gdi.py", line 2597, in SetClippingRegion return _gdi.DC_SetClippingRegion(*args, **kwargs) TypeError: DC_SetClippingRegion() takes exactly 3 arguments (5 given) The versions of the various packages I am using are: wxPython: 2.5.1.5u Numeric: 23.1 Python: 2.3 scipy: 0.3.0_265.4219 Thanks, Srinath
participants (1)
-
Srinath Avadhanula