dpi in savefig ignored if imshow uses interpolation='nearest'

Hi,

If I use interpolation='nearest' in an imshow command, when I try and save the image using savefig, the dpi= argument seems to have no effect. I have created a bug report on GitHub:

https://github.com/matplotlib/matplotlib/issues/83

Thanks for any help,

Tom

Tom,

As a workaround you can use the pdf backend and then convert to eps if necessary using an external tool.

Eric

···

On 04/12/2011 01:32 PM, Thomas Robitaille wrote:

Hi,

If I use interpolation='nearest' in an imshow command, when I try and save the image using savefig, the dpi= argument seems to have no effect. I have created a bug report on GitHub:

  dpi in savefig ignored if imshow uses interpolation='nearest' · Issue #83 · matplotlib/matplotlib · GitHub

Thanks for any help,

Tom