|
From: Jae-Joon L. <lee...@gm...> - 2012-10-12 01:35:13
|
On Fri, Oct 12, 2012 at 3:39 AM, Nikolaus Rath <Nik...@ra...> wrote: > matplotlib actually rescales the raw imshow data when saving to a vector > format? Why is that? I think it should embed the bitmap with full > resolution in the vector file and rely on the consumer of the vector > file to scale it to whatever resolution is supported by the display > device. imshow supports interpolation and that's why rasterization comes in. If you turn off interpolation (w/ interpolation="none"), the original image will be embedded. Of course dpi has no meaning in this case. However, I agree with you that dpi should be a property of the backend only, not the figure. But I am not sure if this can be fixed soon. It will be difficult and will take lots of effort I think. -JJ |