Hi Salome,

This was yet another bug. Thanks for spotting and reporting. I've fixed this in a new PR:
https://github.com/yt-project/yt/pull/2632

Britton

On Thu, Jun 11, 2020 at 10:19 PM Salome Mtchedlidze <salomchedlidze@gmail.com> wrote:
Hello Britton,

I have implemented the changes you made in a pull request and now I can have Mpccm/h units on the plots. However, if I use slice plots without units:

slc.annotate_scale(corner='lower_right', coeff=10)

it anyways gives Mpc units for the scale annotation (see attached). The following way:

slc.annotate_scale(corner='lower_right', coeff=10, unit='Mpccm/h')

gives correct units.

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