[SciPy-user] plt problems

Steve Schmerler elcorto at gmx.net
Fri Jun 18 04:19:57 CDT 2004


Hi

I'm using scipy 0.3.0_266.4242, Python 2.3.4, PythonWin.

The call
   
    import gui_thread
    gui_thread.start()
    from scipy.plt import *
    x=arange(0,5,.1)
    y=sin(x)
    plot(x,y)

caues this error.

============================================================================
  File "C:\PROGRA~1\Python23\Lib\site-packages\scipy\plt\wxplt.py", line
143, in on_paint
    self.draw(wx.wxPaintDC(self))
  File "C:\PROGRA~1\Python23\Lib\site-packages\scipy\plt\wxplt.py", line
424, in draw
    self.draw_graph_area(dc)
  File "C:\PROGRA~1\Python23\Lib\site-packages\scipy\plt\wxplt.py", line
379, in draw_graph_area
    int(gb.width()+2),int(gb.height()+2))
  File "C:\PROGRA~1\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)
============================================================================

It would be nice if someone had an idea what I can do about this.

Thanks in advance.
bye.

-- 
"Documentation is like sex: when it's good,
it is very, very good; and when it's bad, it
is better than nothing." -- Dick Brandon
--

"Sie haben neue Mails!" - Die GMX Toolbar informiert Sie beim Surfen!
Jetzt aktivieren unter http://www.gmx.net/info



More information about the SciPy-user mailing list