Like John, I can't think of anything off hand to prevent this in the 
future.  However, if you're working with a script that causes this to 
happen again, please send us the script.  It may indicate an infinite 
loop or unbounded memory usage, and we'd like to track it down and fix it.

Also, as nice as interactive use is for experimentation, I usually build 
my important plots (where I'm concerned about losing data etc.) in a 
script file (.py), and then run that.  That way if things do get stuck, 
I can kill python and start over pretty easily.

Cheers,
Mike

Anand Patil wrote:
> Hi all,
>
> I'm using matplotlib with the TKAgg on a remote machine running 
> Ubuntu. Normally when I call 'plot' I see the plot in an X11 window, 
> but I called 'plot' yesterday and Python went unresponsive... it 
> doesn't listen to ctrl-C or anything, and it's been more than 24 hours.
>
> I would REALLY like to preserve the data Python has in memory. Is 
> there any way to kill the plot command and wake Python back up?
>
> Thanks,
> Anand Patil
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ------------------------------------------------------------------------
>
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>   

-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to