[chaco] CMapImagePlot issue...

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[chaco] CMapImagePlot issue...

Fred
Hi there,

I have just upgrade ETS from trunk, and now, examples such as
cmap_image_plot.py display blank image, without errors message.


horizon_plot.py fails, anyway, with the following message:
(dunno if related or not)

Traceback (most recent call last):
   File
"/usr/local/lib/python2.7/dist-packages/enable-4.2.1-py2.7-linux-x86_64.egg/enable/abstract_window.py",
line 416, in _paint
     self.component.draw(gc, view_bounds=(0, 0, size[0], size[1]))
   File
"/usr/local/lib/python2.7/dist-packages/enable-4.2.1-py2.7-linux-x86_64.egg/enable/component.py",
line 421, in draw
     self._draw(gc, view_bounds, mode)
   File
"/usr/local/lib/python2.7/dist-packages/enable-4.2.1-py2.7-linux-x86_64.egg/enable/component.py",
line 773, in _draw
     self._dispatch_draw(layer, gc, view_bounds, mode)
   File
"/usr/local/lib/python2.7/dist-packages/enable-4.2.1-py2.7-linux-x86_64.egg/enable/container.py",
line 327, in _dispatch_draw
     component._dispatch_draw(layer, gc, new_bounds, mode)
   File
"/usr/local/lib/python2.7/dist-packages/enable-4.2.1-py2.7-linux-x86_64.egg/enable/component.py",
line 793, in _dispatch_draw
     handler(gc, view_bounds, mode)
   File
"/usr/local/lib/python2.7/dist-packages/chaco-4.2.1-py2.7-linux-x86_64.egg/chaco/base_xy_plot.py",
line 462, in _draw_plot
     self._draw_component(gc, view_bounds, mode)
   File
"/usr/local/lib/python2.7/dist-packages/chaco-4.2.1-py2.7-linux-x86_64.egg/chaco/base_xy_plot.py",
line 470, in _draw_component
     self._render(gc, pts)
   File
"/usr/local/lib/python2.7/dist-packages/chaco-4.2.1-py2.7-linux-x86_64.egg/chaco/horizon_plot.py",
line 92, in _render
     self._render_fill(gc, col, points+i*inc, ox, oy)
   File
"/usr/local/lib/python2.7/dist-packages/chaco-4.2.1-py2.7-linux-x86_64.egg/chaco/horizon_plot.py",
line 114, in _render_fill
     gc.set_fill_color(face_col)
   File
"/usr/local/lib/python2.7/dist-packages/enable-4.2.1-py2.7-linux-x86_64.egg/kiva/agg/agg.py",
line 861, in set_fill_color
     color = Rgba(r,g,b,a)
   File
"/usr/local/lib/python2.7/dist-packages/enable-4.2.1-py2.7-linux-x86_64.egg/kiva/agg/agg.py",
line 452, in __init__
     _Rgba.__init__(self,*args)
   File
"/usr/local/lib/python2.7/dist-packages/enable-4.2.1-py2.7-linux-x86_64.egg/kiva/agg/agg.py",
line 423, in __init__
     this = _agg.new__Rgba(*args)
TypeError: in method 'new__Rgba', argument 1 of type 'double'


All examples with scatter & lines are well displayed, but examples with
CMapImagePlot/ImagePlot are blank (colorbars too).

Any suggestion?


TIA

Cheers,


Debian x86_64 (wheezy)
NumPy 1.6.2
SciPy 0.10.1

--
Fred
_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev
Reply | Threaded
Open this post in threaded view
|

Re: [chaco] CMapImagePlot issue...

Fred
Le 04/07/2012 17:09, Fred a écrit :
> Hi there,
>
> I have just upgrade ETS from trunk, and now, examples such as
> cmap_image_plot.py display blank image, without errors message.
>
>
> horizon_plot.py fails, anyway, with the following message:
> (dunno if related or not)
It's not.

I get the same issue with previous ETS source.

--
Fred
_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev