[SciPy-dev] Re: [SciPy-user] Announce: First installable version of Chaco plotting toolkit is now available

Prabhu Ramachandran prabhu at aero.iitm.ernet.in
Fri Sep 20 21:00:08 CDT 2002


>>>>> "DCM" == David C Morrill <dmorrill at enthought.com> writes:

    DCM> We are pleased to announce that the first installable version
    DCM> of the Chaco plotting toolkit is now available for download
    DCM> at: http://www.scipy.org/site_content/chaco

Wow! The demo looks so good.  Great work!

However, I am unable to run chaco on Linux.  I am running wxPython
2.3.2.1.  When I ran wxdemo_plot.py I got the basic screen but none of
the plots were there.  I also only saw one of the plots (the left
one).  None of the right ones appeared.  anyway, the following
debug.log file was produced.

Traceback (most recent call last):
  File "/usr/local/lib/python2.1/site-packages/chaco/wxplot_window.py", line 927
, in _on_paint
    canvas._draw()
  File "/usr/local/lib/python2.1/site-packages/chaco/plot_canvas.py", line 2197,
 in _draw
    value_item.item._draw()
  File "/usr/local/lib/python2.1/site-packages/chaco/plot_canvas.py", line 734, 
in _draw
    axes_info._draw( ox, oy )
  File "/usr/local/lib/python2.1/site-packages/chaco/plot_info.py", line 654, in
 _draw
    axis_info._draw( 0, oy )
  File "/usr/local/lib/python2.1/site-packages/chaco/plot_info.py", line 1038, i
n _draw
    gc.stroke_path()
  File "/usr/local/lib/python2.1/site-packages/kiva/basecore2d.py", line 946, in
 stroke_path
    self.draw_path(mode=STROKE)
  File "/usr/local/lib/python2.1/site-packages/kiva/basecore2d.py", line 986, in
 draw_path
    self.device_update_line_state()
  File "/usr/local/lib/python2.1/site-packages/kiva/wxcore2d.py", line 167, in device_update_line_state
    pen.SetDashes(list(pattern.astype(int)))
ValueError: type must be either a 1-length string, or a python type object


I receive several of these.  

Thanks.
prabhu



More information about the Scipy-dev mailing list