[SciPy-user] About alternatives to Matlab

Robert Kern robert.kern at gmail.com
Tue Nov 21 00:15:39 EST 2006


Chris Bartley wrote:
> Peter Wang wrote :
>> Haha... we actually have this *exact* thing implemented as a demo:  
>> chaco2/examples/zoomed_plot/zoom_plot.py.  
> 
> Peter, I've tried to get this demo (zoom_plot.py) working. I've tried:
> 1. The latest Enthought Tool Suite (it doesn't appear to be included).
> 2. downloading the file from svn.enthought. I can download the file, but
> when I try to run it, it generates the error: 
> Traceback (most recent call last):
>   File
> "C:\Python24\Lib\site-packages\enthought\chaco2\examples\zoom_plot.py", line
> 16, in ?
>     from grid_plot_factory import create_gridded_line_plot
> ImportError: No module named grid_plot_factory
>  
> What am I missing? 

That zoom_plot.py file should be in enthought/chaco2/examples/zoomed_plot/ along
with grid_plot_factory.py . Get the whole SVN checkout, not just the one file.

zoomed_plot]$ pwd
/Users/rkern/svn/enthought-lib/enthought/chaco2/examples/zoomed_plot
[zoomed_plot]$ ls
__init__.py          grid_plot_factory.py wav_to_numeric.py    zoom_overlay.py
    zoom_plot.py


-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco



More information about the SciPy-User mailing list