Re: [matplotlib-devel] ginput-like function for an arbitrary blocking function

2008-03-16 Thread Gael Varoquaux
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'

Re: [matplotlib-devel] ginput-like function for an arbitrary blocking function

2008-03-10 Thread Jae-Joon Lee
Hi Gaƫl, 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 spe

Re: [matplotlib-devel] ginput-like function for an arbitrary blocking function

2008-03-10 Thread Gael Varoquaux
On Mon, Mar 10, 2008 at 07:09:03PM -0400, Jae-Joon Lee wrote: > I often need to take an input from other sources > (I mean, other than matplotlib itself, e.g., raw_input). > I don't think running a blocking function, such as a raw_input, > without freezing the figure canvas > has been easy in matpl

Re: [matplotlib-devel] ginput-like function for an arbitrary blocking function

2008-03-10 Thread Gael Varoquaux
On Mon, Mar 10, 2008 at 07:09:03PM -0400, Jae-Joon Lee wrote: > I often need to take an input from other sources > (I mean, other than matplotlib itself, e.g., raw_input). > I don't think running a blocking function, such as a raw_input, > without freezing the figure canvas > has been easy in matpl

[matplotlib-devel] ginput-like function for an arbitrary blocking function

2008-03-10 Thread Jae-Joon Lee
Hi all, I found the recent ginput function by Gael is really cool. On the other hand, I often need to take an input from other sources (I mean, other than matplotlib itself, e.g., raw_input). I don't think running a blocking function, such as a raw_input, without freezing the figure canvas has bee