[Tutor] Using Matplotlib - program still running when graph window is closed

Eike Welk eike.welk at gmx.net
Wed Feb 24 15:23:19 CET 2010


On Wednesday February 24 2010 11:23:18 AG wrote:
> How does one ensure that once a graph has been produced by Matplotlib
> and that graph has been closed by the user that the program itself stops?
> 
> What I am currently getting is that when I close the graph pop-up window
> and then close IDLE, I get a message that the program is still running
> and am I sure that I want to stop it.  Yes, I am sure, but I don't want
> to have to keep killing the IDLE interpreter window in order to do so,
> but if I don't, then I am seemingly unable to produce another graph
> pop-up window.

There seem to be erroneous interference between Idle and Matplotlib. Similar 
problems are reported on the Matplotlib list too. The list for Matplotlib 
users is here:
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

You could also try out the Spyder IDE, which reportedly works well with 
Matplotlib.
http://packages.python.org/spyder/


Eike.




More information about the Tutor mailing list