Hi Christine,<div><br></div><div>This doesn't fix the underlying issue, but I usually just dump the pngs out with a high dpi and use a conversion from png to eps.  If you have Gimp, you may want to give this a shot:</div>

<div><a href="http://code.google.com/p/agpy/source/browse/trunk/contributed/pngtoeps?r=247">http://code.google.com/p/agpy/source/browse/trunk/contributed/pngtoeps?r=247</a><br><br>Others might have better ideas, but my guess is a lot of them will deal with modifying your matplotlib backend, which I've never had great luck with for vector formats.</div>

<div><br></div><div>Best,</div><div>Sam<br><br><div class="gmail_quote">On Wed, Jun 27, 2012 at 3:10 PM, Christine Simpson <span dir="ltr"><<a href="mailto:csimpson@astro.columbia.edu" target="_blank">csimpson@astro.columbia.edu</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi everyone,<br>
<br>
I have a question that may be more of a matplotlib question than a yt<br>
question, but it's an issue with some yt generated figures I have, so I<br>
thought I'd ask it here.  I think there was some discussion of this on<br>
the list a while ago but I can't find the thread.<br>
<br>
When I output images that include colorbars in vector formats (like pdf<br>
and eps), I get these little lines running across the color bar.  It<br>
goes away if I output the image in a rasterized format (like png).  I<br>
wanted to output my images in vector format (as pdfs) so everything<br>
looks nice and sharp.  I've figured out how to just rasterize the color<br>
bar.  However, I don't want to rasterize the color bar labels, and the<br>
way I've implemented it, the labels get rasterized too.  It seems in<br>
figure objects (and maybe axes objects?) there is a way to specify the<br>
order that items get drawn and/or rasterized (through the zorder and<br>
rasterized_zorder keywords); I've played around with this but haven't<br>
been able to get it to work.  The color bar is a Colorbar object and it<br>
doesn't seem like this class allows for adjusting the rasterization<br>
order of things.<br>
<br>
I've pasted an example script here:<br>
<a href="http://paste.yt-project.org/show/2504/" target="_blank">http://paste.yt-project.org/show/2504/</a><br>
I'm probably going to give up on this soon, but any advice people have<br>
would be greatly appreciated.<br>
<br>
Christine<br>
<br>
<br>
_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
</blockquote></div><br></div>