Re: [Matplotlib-users] pyplot.show() without stopping script execution?
On 6/30/2009 5:42 PM ms apparently wrote: > I am writing a script that uses pyplot.show() to show a plot, on which > the user has to ponder and decide a course of action (telling the script > what to do on a raw_input). This is not how `show` is used. But you could save the plot as a temporary file and open it in a viewer. Or build a GUI for the user to interact with: http://matplotlib.sourceforge.net/examples/user_interfaces/embedding_in_tk.html Alan Isaac -- ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] pyplot.show() without stopping script execution?
Hi, I am writing a script that uses pyplot.show() to show a plot, on which the user has to ponder and decide a course of action (telling the script what to do on a raw_input). I would be happy if the pyplot window does not "freeze" python below, i.e. if the window can somehow exist while the python script continues to work. Now if I want the script to continue, I have to close the window. I didn't find examples on how to manage this. Any hint on where to read? Thanks, Massimo -- ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users