<div dir="ltr">Hey Elizabeth,<div><br></div><div>I think the easiest way to do that would be something like:</div><div><br></div><div>slc = SlicePlot(pf, 2, 'Density')</div><div>slc.set_cmap('Density', 'Haze')</div>

<div><br></div><div>This is covered in the advanced cookbook recipes, although I agree it needs to be better documented.  I have an open issue about this (<a href="https://bitbucket.org/yt_analysis/yt/issue/579/plot-window-modifying-functions-need-to-be">https://bitbucket.org/yt_analysis/yt/issue/579/plot-window-modifying-functions-need-to-be</a>) and plan to fix it during the docs sprint we've scheduled for october.<br>

<br></div><div>The API docs are missing from the ReadTheDocs build.  They should be available on <a href="http://yt-project.org/docs/dev">yt-project.org/docs/dev</a> though.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">

On Fri, Sep 6, 2013 at 3:15 PM, Elizabeth Tasker <span dir="ltr"><<a href="mailto:tasker@astro1.sci.hokudai.ac.jp" target="_blank">tasker@astro1.sci.hokudai.ac.jp</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hey, this is awesome!<br>
<br>
Could we add an example of how to specify a colormap for a slice?<br>
<br>
Is it:<br>
<br>
SlicePlot(pf, 2, "Density", plot_args=dict(cmap='Haze'))<br>
<br>
or<br>
<br>
<br>
SlicePlot(pf, 2, "Density", cmap='Haze')<br>
<br>
or something for the whole script, like through map_to_colormap?<br>
<br>
?<br>
<br>
Did the descriptions of each function that show the available arguments get removed from the docs? It doesn't seem to come up when I search anymore.<br>
<span class="HOEnZb"><font color="#888888"><br>
Elizabeth<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<br>
On Sep 6, 2013, at 5:56 PM, Matthew Turk <<a href="mailto:matthewturk@gmail.com">matthewturk@gmail.com</a>> wrote:<br>
<br>
> Hi all,<br>
><br>
> Just a quick note -- thanks to some awesome work mostly by Cameron,<br>
> but with assists from Kacper and Nathan, we now have a diagram of<br>
> colormaps in yt:<br>
><br>
> <a href="http://yt.readthedocs.org/en/latest/visualizing/colormaps/index.html" target="_blank">http://yt.readthedocs.org/en/latest/visualizing/colormaps/index.html</a><br>
><br>
> It covers the native matplotlib colormaps, as well as the ones yt<br>
> includes in addition.  (Such as little-known gems like kamae,<br>
> cubehelix and our very own algae.)<br>
><br>
> This will be on the main yt docs site once we release 2.6.  On the<br>
> main site, there'll even be a demonstration of a projection in<br>
> different colormaps.<br>
><br>
> Thanks, Cameron!<br>
><br>
> -Matt<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>
_______________________________________________<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>
</div></div></blockquote></div><br></div>