I agree with Dave on this.  I'd much rather issue another command on the rare case that I want to reset the colorbar to an auto setting than to have to reset it to my hand set values each time.  Now I can see where in a first star simulation (or any super-high dynamic range simulation) you would want to automatically change the colorbar as you zoom since your dynamic range in the frame will be changing.  One possibility I can think of is to have a keyword in the set_width function that is perhaps "rescale_color=True/False", and the default could go either way.  If True, then the zlim is reset to automatic with cmap staying constant.  I'm suggesting the cmap stay constant no matter what here because I don't see a reason why someone would want to swtich back to default cmap after changing it in the first place.  If rescale_color is False, then just leave everything alone.<div>

<br></div><div>As for the default setting, perhaps this could be setup in the PlotCollection instantiation, and then no matter what the user will likely only have to issue the rescale_color keyword a single time.  Anyways, those are my thoughts.  I'm sure others have opposite opinions.</div>

<div><br></div><div>Sam  <div><br><div class="gmail_quote">On Wed, Aug 19, 2009 at 3:36 PM, david collins <span dir="ltr"><<a href="mailto:antpuncher@gmail.com">antpuncher@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

This sounds good in general, thanks for updating this.<br>
<div class="im"><br>
<br>
> But, what happens to the colorbar?  Do we invalidate it, and then<br>
> reset it on next save?  That is, when we change the width, does that<br>
> override the user setting the colorbar?<br>
<br>
</div>If I by hand set zlim in a plot, my intuition says it should stay set<br>
to what I intend.  So if I change the width/center, I want zlim to<br>
stay what I last set it as. If there's a particular color range i'm<br>
interested, it would be confusing if it automatically changed when I<br>
moved the image a bit.<br>
<font color="#888888"><br>
d.<br>
</font><div><div></div><div class="h5"><br>
><br>
> Does anyone have any thoughts?  Thanks!<br>
><br>
> -Matt<br>
> _______________________________________________<br>
> Yt-dev mailing list<br>
> <a href="mailto:Yt-dev@lists.spacepope.org">Yt-dev@lists.spacepope.org</a><br>
> <a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a><br>
><br>
_______________________________________________<br>
Yt-dev mailing list<br>
<a href="mailto:Yt-dev@lists.spacepope.org">Yt-dev@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Samuel W. Skillman<br>Graduate Research Assistant<br>Center for Astrophysics and Space Astronomy<br>University of Colorado at Boulder<br>samuel.skillman[at]<a href="http://colorado.edu">colorado.edu</a><br>


</div></div>