[SciPy-user] going through a lot of plots

David Warde-Farley dwf at cs.toronto.edu
Thu May 14 11:47:07 EDT 2009


On 13-May-09, at 7:18 PM, 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.

Thanks for the idea. I followed Gael's tutorial example pretty closely  
and did the same with my existing matplotlib code (not that Chaco  
isn't great and all, just taking the path of least resistance at this  
point).

This has a slight problem when running ipython with -wthread, in that  
if I want to view several disparate groups (i.e. I have many images,  
and I'm processing them one by one, so I've set it up so I can look at  
all the objects in an image) - there is no way (as far as I can tell)  
to get my function to wait on configure_traits() before moving on to  
the next image (I suppose I could embed another slider or something to  
select the image...). Is there any way to tell a GUI to take the  
interpreter thread hostage?

David



More information about the SciPy-User mailing list