On Mon, Mar 10, 2008 at 11:22:26PM -0400, Jae-Joon Lee wrote: > I mostly work in an interactive shell (ipython), and if I simply call > a blocking function (like raw_input) > from the prompt, it also blocks the event loop of the matplotlib gui backend > (it happens for GtkAgg, but not for TKAgg. I'm not sure with other > backends, but I thought > TKAgg is a special case.) > So I wanted to call a raw_input (or other blocking function) in an > interactive shell > without freezing the figure.
> Hmm, maybe I'm missing something and there has been an very easy way to do it. > My understading was that the gui event loop waits (without processing > gui events) > until the commands entered in the prompt finish. Sorry, I got lost in dealing with urgent problems again. I can't spend too much time looking at this issue, but I would like to confirm that you do seem to have a use-case here that I cannot solve with something simpler. If other people agree, I think we should move forward with your solution. Sorry for the slow response time, Gaƫl ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel