<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi Chris,</div><div><br></div><div>Someone else that knows better than me can correct me, but it looks like all of the matplotlib imports happen in yt/visualization/_mpl_imports.py.</div><div><br></div><div>The only configuration is this line: matplotlib.rc('contour', negative_linestyle='solid') which changes the default linestyle for contour plots.  </div><div><br></div><div>Other than that, if you use the Agg backend, you should be able to produce plots that look like yt plots.  I believe yt uses the default fonts and matplotlib colortables (except for the ones in yt/visualization/_colormap_data.py.  If you're trying to make publication quality plots, you may want to take a look at the EPS writer that John Wise wrote (yt/visualization/eps_writer.py) which leverages pyx to make really nice native postscript plots, or look at the various plot types (e.g. the RavenPlot in yt/visualization/plot_types.py).</div><div><br></div><div>Personally, if I have to make consistent looking plots, I'd like to be in complete control so I use FixedResolutionBuffers and <a href="https://bitbucket.org/ngoldbaum/diskdyn_yt">custom matplotlib scripts</a>.</div><div><br></div><div>Hope that helps!</div><div><br></div><div>-Nathan</div><br><div><div>On Apr 28, 2012, at 6:59 PM, Christopher Moody wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi all,<br>Aesthetically, it'd be nice to make matplotlib plots with a consistent<br>style as yt-made plots so that fonts, sizes, color palettes and so on<br>agree. I imagine that this means I have to find yt's default<br>matplotlib rc, or something analogous, somewhere.<br><br>Many thanks for the help!<br>chris<br>_______________________________________________<br>yt-users mailing list<br><a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org<br><br>!DSPAM:10175,4f9ca0a363302512813236!<br><br></div></blockquote></div><br></body></html>