<div dir="ltr">A while back I added a label_fmt argument to save_annotated:<div><br></div><div><div>        label_fmt : str, optional                                               </div><div>           A format specifier (e.g., label_fmt="%.2g") to use in formatting     </div><div>           the data values that label the transfer function colorbar.    </div></div><div><br></div><div>this fixed the values for me so they look reasonable.</div><div><br></div><div>Note: I don't think any of this has made it over to the new VR interface.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 11, 2015 at 2:42 PM, Stephanie Tonnesen <span dir="ltr"><<a href="mailto:stonnes@gmail.com" target="_blank">stonnes@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"><div><div><div><div>Hi yt-users,<br><br></div><div>My last attempt was too big to make it to the user list, so I will try again!<br></div><span class="">I am trying to make a volume rendering using <br>---<br>Version = 3.2-dev<br>Changeset = dc2467c4eae7 (yt) tip<br>---<br></span></div><span class="">and basically following this example:<br><br><a href="http://bender.astro.sunysb.edu/random/vol_rotate.py" target="_blank">http://bender.astro.sunysb.edu/random/vol_rotate.py</a><br><br></span></div>My
 problem is that the units are wonky on my colorbar.  I input them in my
 transfer function as cgs, and the peaks seem to be in the right place 
based on my input range and sample values.  Can I get the colorbar to 
present the density values in cgs?  You can see the colorbar and the code 
attached.  <br><span class=""><br>Oh, I had to add in the line <br>matplotlib.use('pdf') <br>because
 I was getting a _tkinter can't find your screen error everytime I tried
 to add the colorbar.  I think it was a matplotlib with my computer 
problem.<br><br>Thanks!  <br><br></span></div><span class="">Stephanie<div><div><div dir="ltr"><div><div><div><font face="garamond,serif">--<br>Dr. Stephanie Tonnesen<br></font></div><font face="garamond,serif">Alvin E. Nashman Postdoctoral Fellow<br></font></div><font face="garamond,serif">Carnegie Observatories, Pasadena, CA<br></font></div><font face="garamond,serif"><a href="mailto:stonnes@gmail.com" target="_blank">stonnes@gmail.com</a><br></font></div></div></div>
</span></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" rel="noreferrer" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div>Michael Zingale</div><div>Associate Professor</div><div><br></div><div>Dept. of Physics & Astronomy • Stony Brook University • Stony Brook, NY 11794-3800</div><div><i>phone</i>:  631-632-8225</div><div><i>e-mail</i>: <a href="mailto:Michael.Zingale@stonybrook.edu" target="_blank">Michael.Zingale@stonybrook.edu</a></div><div><i>web</i>: <a href="http://www.astro.sunysb.edu/mzingale" target="_blank">http://www.astro.sunysb.edu/mzingale</a></div><div>github: <a href="http://github.com/zingale" target="_blank">http://github.com/zingale</a></div><div><br></div></div></div></div>
</div>