<div dir="ltr"><div>Hi Nathan,<br><br>I updated yt, and found that this issue made a mistake on handling filename. For normal string as an input for save function, it didn't set "prefix" and returned an error. Error message is attached below.<br>
<br></div>Chang-Goo<br><br>==<br><div><br>File "/tigress/changgoo/yt-x86_64/src/yt-hg/yt/visualization/profile_plotter.py", line 776, in save<br>    fn = "%s_%s%s" % (prefix, middle, suffix)<br>UnboundLocalError: local variable 'prefix' referenced before assignment<br>
<br><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, May 11, 2014 at 5:48 PM, Nathan Goldbaum <span dir="ltr"><<a href="mailto:nathan12343@gmail.com" target="_blank">nathan12343@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 Chang-Goo,<div><br></div><div>Thanks for the report.  I've issued a pull request to fix this issue (among others) here:</div>
<div><br></div><div><a href="https://bitbucket.org/yt_analysis/yt/pull-request/896/plotting-cleanup" target="_blank">https://bitbucket.org/yt_analysis/yt/pull-request/896/plotting-cleanup</a><br>

</div><div><br></div><div>Hope that's helpful,</div><div><br></div><div>-Nathan</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Thu, May 8, 2014 at 1:15 PM, Chang-Goo Kim <span dir="ltr"><<a href="mailto:cgkim@astro.princeton.edu" target="_blank">cgkim@astro.princeton.edu</a>></span> wrote:<br>


</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div>Hi all,<br><br></div>set_zlim didn't readjust colormap scale. Here's my simple code and resulting figure. Note that I have tried to reset color scale with set_zlim, but the range remains the same. What did I miss?<br>



<br>dd=pf.all_data()<br>ph=PhasePlot(dd,'nH','pok',['cell_mass'],weight_field=None,x_bins=64,y_bins=64,fractional=True)<br>ph.set_zlim('cell_mass',1.e-5,1)<br>ph.show()<br>ph.save('phaseplot.png')<br>



<br><br><a href="http://i.imgur.com/aZ2v7XJ.png" target="_blank">http://i.imgur.com/aZ2v7XJ.png</a><br><br><br>BTW, thanks for recent update for fractional keyword. Now, the fractional keyword gives exactly what I want.<span><font color="#888888"><br>


<br>Chang-Goo<br>
</font></span></div></div>
<br></div></div>_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">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>
<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>