Hi Salome,

Reviving this very old thread, I think I agree that the appropriate behavior in this case would be to use Mpccm/h on the scale bar. I've issued a pull request that does this:
https://github.com/yt-project/yt/pull/2989

Britton

On Fri, Sep 4, 2020 at 1:11 PM Salome Mtchedlidze <salomchedlidze@gmail.com> wrote:
Hello Britton,

Sorry for the late response.
I meant that the commands:

     p = yt.SlicePlot(ds, 'x', 'density')
     p.set_axes_unit('Mpccm/h')
     p.annotate_scale(corner='lower_right', coeff=10)
     p.show()

by default give the scale Mpc units even though the box is in Mpccm/h units.. But yes, as you said, providing "Mpccm/h" works correctly..

Salome
_______________________________________________
yt-users mailing list -- yt-users@python.org
To unsubscribe send an email to yt-users-leave@python.org
https://mail.python.org/mailman3/lists/yt-users.python.org/
Member address: brittonsmith@gmail.com