Ryan May wrote:
> 
>     Any idea if it's possible to finish a Python program but still have the
>     graph showing?
> 
>     FWIW, I'm doing this under Linux.
> 
> 
> You'd have to run the plotting in a separate process from the 
> computation.  subprocess would let you do that, assuming you can spin 
> off a child task that stays alive when the parent exits.  You'd also 
> need to get the computing process to give new results to the child plot, 
> maybe using a pipe (which I think subprocess can handle as well.)

Thanks Ryan, I have been meaning to explore Python's
threading/multi-processing facilities, so this will provide a
good excuse to do so :-)  [when I find the time... so much to learn,
so little time]


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to