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.
This fix is needed in order to allow setting
Also, more tests with
imshow
indicate that the file size doesn't vary based onrasterized
. I was also reminded thatimshow
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. Sincepcolor
now usespcolormesh
for most cases, which makes smaller images, I don't think there's much reason to useimshow
and personally I don't use it for plotitems.