Skip to content
Snippets Groups Projects
Unverified Commit 7a5d5cac authored by Wouter Deconinck's avatar Wouter Deconinck Committed by GitHub
Browse files

fix: avoid warning in backwards_ecal with fr-string (#136)

parent 6f7783a4
Branches
Tags
No related merge requests found
Pipeline #111862 passed
...@@ -255,7 +255,7 @@ for clf_label, sigma_rel_FWHM_cb in sigmas_rel_FWHM_cb.items(): ...@@ -255,7 +255,7 @@ for clf_label, sigma_rel_FWHM_cb in sigmas_rel_FWHM_cb.items():
f(xs, *par), f(xs, *par),
ls="--", ls="--",
lw=0.5, lw=0.5,
label=f"Functional fit: ${np.ceil(stochastic * 10) / 10:.1f}\% / \sqrt{{E}} \oplus {np.ceil(constant * 10) / 10:.1f}\%$", label=fr"Functional fit: ${np.ceil(stochastic * 10) / 10:.1f}\% / \sqrt{{E}} \oplus {np.ceil(constant * 10) / 10:.1f}\%$",
) )
xmin = np.min(energy_values) xmin = np.min(energy_values)
xmax = np.max(energy_values) * 1.05 xmax = np.max(energy_values) * 1.05
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment