[Yt-dev] linear tickers

Matthew Turk matthewturk at gmail.com
Wed Apr 27 15:27:55 PDT 2011


Hi Jeff,

Thanks very much for adding linear ticks.  As for the bug ...

I think it was a combination of three bugs, which I have fixed in
current tip.  Note that in the current tip I also mandate an
exponential form of the variables.  Feel free to change this, but Iw
ould prefer it have some kind of fixed width.  (I suppose I should
have done % 0.3e, but I onyl did %0.3e.  Oops!)

Bug 1: Field transform was always being set to log-base-e.
Bug 2: The FP values were very, very long, and the ticks were being
prepending with spaces, thus causing linewrap for the
minus-sign-prefixed values.
Bug 3: There was not enough room between the colorbar and the
rhs_panel in widget_plotwindow.js to allow them to display.

You can see the changes here:

http://hg.enzotools.org/yt/changeset/dfa84db4e415

The changes to the .js file show how to reorganize and move things
around, if you are so motivated in the future!

-Matt

On Wed, Apr 27, 2011 at 5:57 PM, j s oishi <jsoishi at gmail.com> wrote:
> hi Guys,
>
> I just put linear tickers into the Reason plot widget, copying from
> matplotlib like Matt did for the log tickers. However, it doesn't seem
> to want to print negative tick labels. The negative sign is there, but
> no number. I think this might be on the js side, and a cursory glance
> didn't reveal anything. Any ideas?
>
> thanks,
>
> j
> _______________________________________________
> Yt-dev mailing list
> Yt-dev at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
>



More information about the yt-dev mailing list