The recent zorder-related  changes broke the some of the rasterization
feature, and I just committed a fix. In doing so, I replaced

        dsu.sort(key=lambda x: x[0])

to

        dsu.sort(key=itemgetter(0))

which I think is slightly faster (although speed is not much of concern here).

Regards,

-JJ



On Tue, Dec 1, 2009 at 11:17 PM, Eric Firing <efir...@hawaii.edu> wrote:
> John Hunter wrote:
>> On Tue, Dec 1, 2009 at 6:21 PM, Eric Firing <efir...@hawaii.edu> wrote:
>>> This is easy to fix by using the key kwarg (added in python 2.4) of the
>>> sort method, because python uses a stable sort.  It looks like it only
>>> needs to be fixed in Axes.draw, because Figure.draw has never paid any
>>> attention to zorder anyway.  I'll do it now.
>>
>> It does now in svn HEAD -- I just added this yesterday.
>
> Yes, I saw that after I sent the first message, so I stabilized the sort
>  in Figure.draw also.
>
> Eric
>
> ------------------------------------------------------------------------------
> Join us December 9, 2009 for the Red Hat Virtual Experience,
> a free event focused on virtualization and cloud computing.
> Attend in-depth sessions from your desk. Your couch. Anywhere.
> http://p.sf.net/sfu/redhat-sfdev2dev
> _______________________________________________
> Matplotlib-devel mailing list
> Matplotlib-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to