From 7e3fd2ccd5377ece641dd8652cba3f6fd43c4527 Mon Sep 17 00:00:00 2001 From: David Date: Mon, 30 Jun 2025 11:09:21 +0200 Subject: [PATCH] correct escape sequence to remove warning --- gatetools/bin/gt_phsp_plot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gatetools/bin/gt_phsp_plot.py b/gatetools/bin/gt_phsp_plot.py index 41e54a4..ee754cc 100755 --- a/gatetools/bin/gt_phsp_plot.py +++ b/gatetools/bin/gt_phsp_plot.py @@ -145,7 +145,7 @@ def gt_phsp_plot(filenames, keys, n, quantile, tree, nb_bins, plot2d, shuffle, s if k not in q: q[k] = (np.quantile(x, q1), np.quantile(x, q2)) - label = ' {} $\mu$={:.2f} $\sigma$={:.2f}'.format(k, np.mean(x), np.std(x)) + label = ' {} $\\mu$={:.2f} $\\sigma$={:.2f}'.format(k, np.mean(x), np.std(x)) a.hist(x, nb_bins, # density=True, histtype='stepfilled',