Skip to content

Commit

Permalink
mcresplot: fixed escape sequences in tex labels
Browse files Browse the repository at this point in the history
  • Loading branch information
tweber-ill authored Mar 26, 2024
1 parent 8a5ecb0 commit 08c1b8f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/Python/mcresplot/cov.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,9 +329,9 @@ def plot_ellipses(file, Q4, w, Qmean, ellis):
coord_names = ["Qpara (1/A)", "Qperp (1/A)", "Qup (1/A)", "E (meV)"]

if options["use_tex"]:
coord_names[0] = "$Q_{\parallel}$ (\AA$^{-1}$)"
coord_names[1] = "$Q_{\perp}$ (\AA$^{-1}$)"
coord_names[2] = "$Q_{up}$ (\AA$^{-1}$)"
coord_names[0] = "$Q_{\\parallel}$ (\\AA$^{-1}$)"
coord_names[1] = "$Q_{\\perp}$ (\\AA$^{-1}$)"
coord_names[2] = "$Q_{up}$ (\\AA$^{-1}$)"


ellplots = []
Expand Down

0 comments on commit 08c1b8f

Please sign in to comment.