Bug rasterized image in pcolor and pcolormesh

     > 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

···

On 06/04/2010 02:50 PM, Benjamin Root wrote:

On Fri, Jun 4, 2010 at 4:53 PM, Jae-Joon Lee <lee.j.joon@...149... > <mailto:lee.j.joon@…149…>> wrote:
    On Wed, Jun 2, 2010 at 10:09 PM, Benjamin Root <ben.root@...553... > <mailto:ben.root@…553…>> wrote:

Ben Root

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.

Ah, I didn't noticed the warning.

I added the missing Collection subclass draw decorators in svn 8381.

Thanks Eric,

-JJ

···

On Sat, Jun 5, 2010 at 12:24 AM, Eric Firing <efiring@...229...> wrote:

Eric