[SciPy-user] Chaco / traits line color problem in current cvs ?

Gary Pajer pajer at iname.com
Fri Oct 10 22:31:58 EDT 2003


The improvments in threading wxplt seem to work well... thanks.

Now, if I create a simple plot

>>> from gui_thread import wxPython_thread ; wxPython_thread()
>>> from chaco import wxplt
>>> wxplt.plot((1,2,3))

and try to change the line color by right-click / Edit / line, and choosing a 
color from the pallette, it doesn't.

>>> Traceback (most recent call last):
  File "/usr/local/lib/python2.3/site-packages/traits/wxtrait_sheet.py", line 
2186, in on_click
    self.from_wx_color( control.GetBackgroundColour(), parent ),
TypeError: from_wx_color() takes exactly 2 arguments (3 given)

Also, on my system the color icons on the color pallettes are all white.

regards,
gary



More information about the SciPy-User mailing list