Skip to content

Commit 2fae21d

Browse files
committed
Escape characters in function comments
1 parent a4f45b9 commit 2fae21d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

velociraptor/tools/labels.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def get_mass_function_label_no_units(mass_function_sub_label: str):
2424
"""
2525
Gets a fancy mass-function label such as:
2626
27-
d$n(M_*)$/d$\log_{10}M_*$ [Mpc$^{-3}$]
27+
d$n(M_*)$/d$\\log_{10}M_*$ [Mpc$^{-3}$]
2828
2929
(this would be for an input of "*" and unyt.Mpc**3).
3030
"""
@@ -42,7 +42,7 @@ def get_mass_function_label(
4242
"""
4343
Gets a fancy mass-function label such as:
4444
45-
d$n(M_*)$/d$\log_{10}M_*$ [Mpc$^{-3}$]
45+
d$n(M_*)$/d$\\log_{10}M_*$ [Mpc$^{-3}$]
4646
4747
(this would be for an input of "*" and unyt.Mpc**3).
4848
"""

0 commit comments

Comments
 (0)