On Mon, Mar 19, 2012 at 1:36 PM, Moore, Eric (NIH/NIDDK) [F] <
[email protected]> wrote:
> From: Benjamin Root [mailto:[email protected]]
> Sent: Monday, March 19, 2012 2:00 PM
> To: Joshua Lande
> Cc: [email protected]
> Subject: Re: [Matplotlib-users] Strange compression of matplotlib's eps
> figures
>
> ...
>
> Using Firefox, I see no difference between the two images. What are you
> using?
>
> Ben Root
>
>
> All of the rows and columns are not the same width in the two images. Not
> limited to saving as eps. Also true if you change the example to png and
> then zoom in. Since imshow more than likely always saves as a raster, I'll
> bet the real problem is the number of pixels doesn't divide evenly into the
> size of z in Joshua's example.
>
> Eric
>
>
Ah, I see. Yeah, that's not a bug, but a simple limitation of integer
math. We have introduced a new option for interpolation in v1.1.0 that
might help. Pass in the string "none" (not that python keyword) to the
interpolation kwarg in imshow and maybe your results will look better.
Ben Root
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users