[SciPy-user] going through a lot of plots

Robert Cimrman cimrman3@ntc.zcu...
Thu May 14 01:34:46 CDT 2009


Hi Gael,

Gael Varoquaux wrote:
> On Wed, May 13, 2009 at 06:18:31PM -0500, Robert Kern wrote:
>> I usually write up a quick Traits UI that embeds the Chaco Plot with a
>> slider or whatever to select the dataset. This lets me move forwards
>> and backwards and abort in the middle much more naturally.
> 
> Same thing with Mayavi's mlab (I look at 3D data). 
> 
> I modify in place the objects plotted, for speed. Check out
> https://svn.enthought.com/enthought/browser/Mayavi/trunk/examples/mayavi/interactive/mlab_interactive_dialog.py
> for some hints on how to do this.

Just to let you know that the example does not work right away with 
ets-3.2.0

$ ./mlab_interactive_dialog.py
Traceback (most recent call last):
   File "./mlab_interactive_dialog.py", line 36, in <module>
     from enthought.mayavi.core.api import PipelineBase
ImportError: No module named api

It works perfectly after this small change:

from enthought.mayavi.core.api import PipelineBase
->
from enthought.mayavi.core.pipeline_base import PipelineBase

cheers,
r.


More information about the SciPy-user mailing list