Re: [matplotlib-devel] Alternate lasso: click to form polygon

2008-07-30 Thread John Hunter
On Wed, Jul 30, 2008 at 4:31 PM, Eric Bruning <[EMAIL PROTECTED]> wrote: > I tried with the Tk backend, and I'm seeing the same problem as Eric F > has with GTK. The problem seems to be with idle_event not getting > triggered on some of the backends. > > The checkins having to do with idle_event fr

Re: [matplotlib-devel] Alternate lasso: click to form polygon

2008-07-30 Thread Eric Bruning
I tried with the Tk backend, and I'm seeing the same problem as Eric F has with GTK. The problem seems to be with idle_event not getting triggered on some of the backends. The checkins having to do with idle_event from the end of June indicate that idle_event is still somewhat experimental. What'

Re: [matplotlib-devel] Alternate lasso: click to form polygon

2008-07-30 Thread Eric Bruning
On Tue, Jul 29, 2008 at 11:12 PM, Eric Firing <[EMAIL PROTECTED]> wrote: > Eric Bruning wrote: >> >> On Tue, Jul 29, 2008 at 10:53 PM, Eric Firing <[EMAIL PROTECTED]> wrote: >>> >>> Eric Bruning wrote: > >>> I gave it a quick try with gtk backend. The polygon is drawn based on >>> clicks, but noth

Re: [matplotlib-devel] Alternate lasso: click to form polygon

2008-07-29 Thread Eric Firing
Eric Bruning wrote: > I wanted something more precise (and easier on the carpal tunnel) than > the included Lasso widget. Inspired by the existing Lasso, I forked > out an alternate approach that creates a polygon with mouse clicks and > returns a list of vertices to a callback function. > > See t

[matplotlib-devel] Alternate lasso: click to form polygon

2008-07-29 Thread Eric Bruning
I wanted something more precise (and easier on the carpal tunnel) than the included Lasso widget. Inspired by the existing Lasso, I forked out an alternate approach that creates a polygon with mouse clicks and returns a list of vertices to a callback function. See the attached for a demo. It's bee