On 06/04/2010 02:50 PM, Benjamin Root wrote: > > > On Fri, Jun 4, 2010 at 4:53 PM, Jae-Joon Lee <lee.j.j...@gmail.com > <mailto:lee.j.j...@gmail.com>> wrote: > > On Wed, Jun 2, 2010 at 10:09 PM, Benjamin Root <ben.r...@ou.edu > <mailto:ben.r...@ou.edu>> wrote: > > I have noticed that the svn repo still does not have rasterization > > decorators for some of the collections (e.g., PolyCollection, > > EllipseCollection, CircleCollection if I remember correctly). > Don't know > > what are supposed to be the final list of Collection that are > eligible for > > that decorator, but it is incomplete at this point in the trunk. > > Did you actually test that the rasterization does not work for these > artist? > They are supposed to, and and they do in my installation. > > If you simply saying that the draw method of these artist are not > decorated, they don't need one because Collection.draw which is called > inside their draw method is already decorated. > > Regards, > > -JJ > > > No, they do work when decorated, I am not claiming that they don't. > Maybe the CircleCollection and the EllipseCollection don't need the > decorator, but the PolyCollector generates a warning if you set > rasterized=True without the decorator.
They all need the decorator because of the flag it adds. Having a decorated draw call a decorated base draw doesn't hurt. I added the missing Collection subclass draw decorators in svn 8381. Eric > > Ben Root ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel