[yt-users] limits of the colorbar

Agarwal, Shankar sagarwal at ku.edu
Wed Dec 2 12:55:37 PST 2009


I updated my copy of yt with 1553. Now, set_zlim works ok.

thanks
shankar


-----Original Message-----
From: yt-users-bounces at lists.spacepope.org on behalf of Matthew Turk
Sent: Wed 12/2/2009 2:25 PM
To: Discussion of the yt analysis package
Subject: Re: [yt-users] limits of the colorbar
 
Hi Shankar,

> But I keep getting a plot with colorbar ranging between (1e-31,1e-28). I can't see what I am missing.

This is a bug.  Inserting the line

p.set_autoscale(False)

above the set_zlim line fixes it.  I've been trying to track down the
right way to fix this bug for some time, and you can see the results
of this so far in the mercurial repository in the named branch
"plotting-refactor".  I've committed a hotfix that will execute this
fix inside set_zlim in revision 1553 to both 1.5 and trunk.

Please let us know if this works for you,

Matt
_______________________________________________
yt-users mailing list
yt-users at lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 3170 bytes
Desc: not available
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20091202/4ed77147/attachment.bin>


More information about the yt-users mailing list