[yt-users] scale on colourbar?

Matthew Turk matthewturk at gmail.com
Wed May 2 05:24:35 PDT 2012


Hi Elizabeth,

Huh, looks like the ticks are *there*, just not being labeled.  Do you
by any chance have something in your ~/.matplotlib/matplotlibrc that
could be interfering?

-Matt

On Wed, May 2, 2012 at 6:32 AM, Elizabeth Tasker
<tasker at astro1.sci.hokudai.ac.jp> wrote:
> Hi,
>
> I'm creating a slice image but it's refusing to tick mark my colour
> bar properly:
>
> http://i.imgur.com/YQBWJ.png
>
> pc = PlotCollection(pf, center=position)
> p = pc.add_slice("NegEscapeVelocity", 2,
> field_parameters={"disk_vector":disk_vector,
> "disk_center":disk_center, "disk_radius":profile["DiskRadius"],
> "disk_potential":profile["PotentialField"]})
> p.set_log_field(False)
> p.set_zlim(0.0, 30.0)
> p.set_width(8, 'kpc')
>
>
> Is there something simple I've done wrong? I tried rearranging the
> last 3 lines, but to no avail!
>
> Elizabeth
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org



More information about the yt-users mailing list