<div dir="ltr">Hi Morgan,<div><br></div><div>FWIW, I've found that some colormaps are prone to 'lines,' while others look fine.</div><div><br></div><div style>That said, I think you can access the colorbar itself from (using the linked example):</div><div style><br></div><div style>p.plots['density'].cb</div><div style><br></div><div style>Chris</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 14, 2014 at 9:20 AM, Morgan MacLeod <span dir="ltr"><<a href="mailto:morganmacleod@gmail.com" target="_blank">morganmacleod@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all,<br><br>I have a question related to saving multipanel figures generated with the AxesGrid toolkit as ".eps".<br><br>I've made a few plots in which I *very* closely follow this example:<br><a href="http://yt-project.org/doc/cookbook/multiplot_2x2_time_series.py" target="_blank">http://yt-project.org/doc/cookbook/multiplot_2x2_time_series.py</a><br><br>Except I replace the save line with<br>plt.savefig('my_figure.eps',format='eps')<br><br>I am hoping to fix this issue (where the colorbar has thin lines in it):<br><a href="http://stackoverflow.com/questions/15003353/why-does-my-colorbar-have-lines-in-it" target="_blank">http://stackoverflow.com/questions/15003353/why-does-my-colorbar-have-lines-in-it</a><br>with a line like:<br><br>cbar.solids.set_rasterized(True) <br><br>I haven't been able to figure out, though, how to access the colorbar object itself within the context of the AxesGrid. In the example script, we access the colorbar axes, which is close, but not quite what is needed, I think. <br><br>Thank you in advance for the help, <br><br>Morgan</div>
<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>
<br></blockquote></div><br></div>