Skip to content

Commit

Permalink
python 3.12 bugfix in printing string with a \e content
Browse files Browse the repository at this point in the history
  • Loading branch information
tgastine committed Sep 5, 2024
1 parent 1052ff5 commit 5a4c646
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/magic/spectrum.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ def plot(self):
self.ekin_torl_SD[1:], self.ekin_torl[1:]+\
self.ekin_torl_SD[1:], alpha=0.2)
if labTex:
ax.set_xlabel('Degree $\ell$')
ax.set_xlabel(r'Degree $\ell$')
else:
ax.set_xlabel('Degree l')
ax.set_ylabel('Kinetic energy')
Expand Down

0 comments on commit 5a4c646

Please sign in to comment.