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 nothing gets printed.  Is this expected?
>>
>> That is unexpected. The callback should change the color of the
>> lassoed dots (from green to blue, for my default colormap) and print
>> the verts, the coords of the lassoed points, and the 'charge' array.
>>
>> Try adding a print in do_callback. One possibility is that the trigger
>> on idle_event isn't working.
>
> do_callback is not getting run.
>
> Eric

On Wed, Jul 30, 2008 at 5:40 AM, Mark Bakker <[EMAIL PROTECTED]> wrote:
> Hello Eric -
>
> I am interested. I wouldn't mind seeing it in mpl, but before we get there
> is there a chance you may want to share the code with me? I presume it is
> not long.

Hi Mark,

The code was attached to the original post. If you can't dig it out of
the archive, I'll send it personally. Let me know.

> My other question is: why do you want to click a polygon? Wouldn't drawing a
> rectangular box be less stress on your carpal tunnel?

My use case requires selecting from a set of points that are
distributed in a way that is unsuitable for selection with a
rectangle.

(cc'ing the mpl-dev list)
-Eric B

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to