[yt-users] EPS figures in matplotlib (*slightly* off topic)

Nathan Goldbaum goldbaum at ucolick.org
Sat Feb 11 10:47:17 PST 2012


Hi John,

Which backend are you using?  I've had luck in the past with the macosx backend.  You may also want to try the ps or cairo backends.  I wish there was more documentation on this, but unfortunately, the section of the matplotlib docs on the different backend choices seems to have been removed: http://matplotlib.sourceforge.net/backends.html

-Nathan

On Feb 11, 2012, at 10:34 AM, Cameron Hummels wrote:

> Hi John,
> 
> I've also experienced this before, although I got the banding when I saved to .png, and I didn't get the banding when I switched to .eps.  I played around with stuff, but I couldn't seem to get rid of the banding, and since it was a minor effect I let it slide.  I'd be interested to hear if you find a solution, though!  Good luck.
> 
> Cameron
> 
> On 02/11/2012 11:12 AM, John ZuHone wrote:
>> Hi all,
>> 
>> Firstly, I recognize I should probably send this to a matplotlib list so I will do that also. However, I figure this is not a bad place to ask. 
>> 
>> I'm using matplotlib to write EPS figures, just simply using 
>> 
>> fig.savefig("test.eps").
>> 
>> However, I'm getting banding effects in the colorbar that I'm not seeing with other formats. I've attached an example. Any suggestions?
>> 
>> Best,
>> 
>> John Z
>> 
>> 
>> 
>> _______________________________________________
>> yt-users mailing list
>> 
>> yt-users at lists.spacepope.org
>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
> 
> -- 
> Cameron Hummels
> PhD Candidate, Astronomy Department of Columbia University
> Public Outreach Director, Astronomy Department of Columbia University
> NASA IYA New York State Student Ambassador
> 
> http://outreach.astro.columbia.edu
>  
> PGP: 0x06F886E3
> 
> !DSPAM:10175,4f36b47e132261473815127!
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
> 
> 
> !DSPAM:10175,4f36b47e132261473815127!




More information about the yt-users mailing list