Dear Salome,

If you are already using comoving units while making a slice or projection plot, then there is no need to annotate scale in the plot with the same unit because it should already be reflected on the x- or y-axis of the plot until you switched it off.

And I think for annotation purposes, the comoving distance units are not valid YT distance units. But you can use "Mpc", "kpc", "pc", "AU" etc.

I hope this will help you.
-Prateek

On Sun, Apr 12, 2020 at 2:31 PM Salome Mtchedlidze <salomchedlidze@gmail.com> wrote:
Hello again,

I am using yt slices and projections with scale annotation. I have my plots in comoving units ("Mpccm/h") but whenever I want to use the same units for annotation:

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

yt does not recognize these units. Am I missing something or only the physical scale annotation is possible ?

Thanks,
Salome
_______________________________________________
yt-users mailing list -- yt-users@python.org
To unsubscribe send an email to yt-users-leave@python.org