Re: [matplotlib-devel] Z-Order Sorting

2009-12-11 Thread Eric Firing
Jae-Joon Lee wrote: > 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 spee

Re: [matplotlib-devel] Z-Order Sorting

2009-12-11 Thread Andrew Straw
Jae-Joon Lee wrote: > The recent zorder-related changes broke the some of the rasterization > feature, and I just committed a fix. Thanks Jae-Joon. Is it easy to turn this into a test so that it never unintentionally crops up again? Thanks, Andrew --

Re: [matplotlib-devel] Z-Order Sorting

2009-12-11 Thread Jae-Joon Lee
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