Hi Manuel,

I think it is a good to introduce the update_from method in Collections.
But, I'm not sure if it is a good idea to also update sizes, paths and
rotation (in RegularPolyCoolection). My impression is that update_from
method is to update gc related attributes. For comparison,
Patch.update_from() does not update the path.
Also, is it okay to update properties without checking its length?. It
does not seem to cause any problems though.

I guess It would better to use xdata_markers than xdata in the
get_handle() method. The difference is when numpoints==1. Using xdata
gives two marker points.

I was actually about to to commit my patch. I'll try to account your
changes and post my version of patch later today.

Regards,

-JJ




On Wed, Oct 15, 2008 at 4:07 PM, Manuel Metz <[EMAIL PROTECTED]> wrote:
> hmm
>
> -------- Original Message --------
> Jae-Joon Lee wrote:
>>> - the parameter numpoints should be used (it's ignored right now)
>>>
>>
>> Thanks Manuel. I guess we can simply reuse xdata_marker for this purpose.
>>
>>
>>> - Some private variables are accessed and a new RegularPolycollection is
>>> created (does this work eg. with a StarPolygonCollection? I haven't
>>> checked, but I don't think so !). Instead of creating a new
>>> RegularPolyCollection it might be more useful to make a copy of the
>>> existing object... I was thinking about a update_from() method for the
>>> Collection class(es) similar to update_from() for lines.
>>>
>>
>> By changing "RegularPolyCoolection"  to "type(handles)", it works for
>> StarPolygonCollection.
>>
>> In Erik's current implementation, the markers in the legend have
>> varying colors, sizes, and y offsets.
>> The color variation seems fine. But do we need to vary the sizes and
>> y-offsets? My inclination is to use a fixed size (median?) and a fixed
>> y offset. How does Erik and others think?
>>
>> Regards,
>>
>> -JJ
>
> Attached is my current version of the patch. I've moved all of the
> properties-copying stuff to collections, which makes the changes
> legend.py more clearer (but I'm not fully happy with the patch and
> haven't commit anything yet)
>
> mm
>
>
> --
> ---------------------------------------
>  Manuel Metz  ............  [EMAIL PROTECTED]
>  Argelander Institut fuer Astronomie
>  Auf dem Huegel 71 (room 3.06)
>  D - 53121 Bonn
>
>  E-Mail: [EMAIL PROTECTED]
>  Web:    www.astro.uni-bonn.de/~mmetz
>  Phone:  (+49) 228 / 73-3660
>  Fax:    (+49) 228 / 73-3672
> ---------------------------------------
>
> -------------------------------------------------------------------------
> 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
>
>

-------------------------------------------------------------------------
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