Skip to content

Commit 7e3fd2c

Browse files
committed
correct escape sequence to remove warning
1 parent c95f60f commit 7e3fd2c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gatetools/bin/gt_phsp_plot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def gt_phsp_plot(filenames, keys, n, quantile, tree, nb_bins, plot2d, shuffle, s
145145
if k not in q:
146146
q[k] = (np.quantile(x, q1), np.quantile(x, q2))
147147

148-
label = ' {} $\mu$={:.2f} $\sigma$={:.2f}'.format(k, np.mean(x), np.std(x))
148+
label = ' {} $\\mu$={:.2f} $\\sigma$={:.2f}'.format(k, np.mean(x), np.std(x))
149149
a.hist(x, nb_bins,
150150
# density=True,
151151
histtype='stepfilled',

0 commit comments

Comments
 (0)