Ryan May wrote:
> Hi,
> 
> As promised, here's a short patch to add get_offsets() and set_offsets() 
> to the Collections() base class.  I tried to make it do the right thing 
> with regard to _offsets vs. _uniform_offsets, depending on whether 
> _uniform_offsets is None.  I also had tried to make __init__ use 
> set_offsets, but that proved to be too much of a hassle for too little 
> code reuse.
> 
> Comments?

I have applied this patch along with entries in API_CHANGES and 
CHANGELOG.  It looks correct in the context of the present code, and 
since it is completely new functionality it can't hurt.

Overall, however, the handling of offsets is pretty confusing.  I 
suspect this is my fault; it probably results from my wanting to make it 
easy to use the LineCollection for waterfall plots.  I looked to see 
whether it could be simplified by using an appropriate offsetTransform, 
but this is at best not straightforward or obvious.

Eric

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