[yt-dev] Issue #1168: Can't set units of colorbar (yt_analysis/yt)

Anonymous issues-reply at bitbucket.org
Thu Feb 4 16:16:47 PST 2016


New issue 1168: Can't set units of colorbar
https://bitbucket.org/yt_analysis/yt/issues/1168/cant-set-units-of-colorbar

Anonymous:

I'd like to change units of the data in colorbar. But running the attached script leads to this error: http://paste.yt-project.org/show/6222/
I've also tried "p.set_unit(('young_stars', 'age'), 'Myr')"  instead of "p.set_unit('age','Myr')" but that comes up with "TypeError: not all arguments converted during string formatting".
Please help. Thanks!





More information about the yt-dev mailing list