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:


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.annotate_scale(corner='lower_right', coeff=10)

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..

yt-users mailing list -- yt-users@python.org
To unsubscribe send an email to yt-users-leave@python.org
Member address: brittonsmith@gmail.com