clawpack / visclaw

Clawpack visualization tools
http://www.clawpack.org
BSD 3-Clause "New" or "Revised" License
29 stars 47 forks source link

Rasterize fix #290

Closed rjleveque closed 2 years ago

rjleveque commented 2 years ago

This fix is needed in order to allow setting

    plotitem.kwargs = {'rasterized':False}

Also, more tests with imshow indicate that the file size doesn't vary based on rasterized. I was also reminded that imshow doesn't work well if you want to show cell edges on some levels but not on finer ones and I fixed a comment to make this clearer. Since pcolor now uses pcolormesh for most cases, which makes smaller images, I don't think there's much reason to use imshow and personally I don't use it for plotitems.