From ead54dceb7463febc7b4e94d80a65eb2e618072d Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin <dmitry.kalinkin@gmail.com> Date: Sat, 7 Dec 2024 01:21:15 -0500 Subject: [PATCH] backwards_ecal: drop above plot titles --- benchmarks/backwards_ecal/Snakefile | 1 - benchmarks/backwards_ecal/backwards_ecal.org | 8 -------- 2 files changed, 9 deletions(-) diff --git a/benchmarks/backwards_ecal/Snakefile b/benchmarks/backwards_ecal/Snakefile index c19db356..5d654ee9 100644 --- a/benchmarks/backwards_ecal/Snakefile +++ b/benchmarks/backwards_ecal/Snakefile @@ -157,7 +157,6 @@ rule backwards_ecal: env \ MATPLOTLIBRC={input.matplotlibrc} \ DETECTOR_CONFIG=""" + DETECTOR_CONFIG + """ \ -PLOT_TITLE=""" + DETECTOR_CONFIG + """ \ INPUT_PATH_FORMAT=listing/backwards_ecal/{wildcards.CAMPAIGN}/""" + DETECTOR_CONFIG + """/{{particle}}/{{energy}}/130to177deg.lst \ OUTPUT_DIR={output} \ python {input.script} diff --git a/benchmarks/backwards_ecal/backwards_ecal.org b/benchmarks/backwards_ecal/backwards_ecal.org index c917ce1f..34be9b7b 100644 --- a/benchmarks/backwards_ecal/backwards_ecal.org +++ b/benchmarks/backwards_ecal/backwards_ecal.org @@ -122,8 +122,6 @@ for energy in energies: #+begin_src jupyter-python fig, axs = plt.subplots(2, 4, sharex=True, sharey=True, figsize=(15, 6)) -fig.suptitle(PLOT_TITLE) - axs = np.ravel(np.array(axs)) sigmas_rel_FWHM_cb = {} @@ -227,7 +225,6 @@ plt.fill_between( np.sqrt((2 / np.sqrt(energy_values)) ** 2 + 3 ** 2), alpha=0.2, color="black", label=r"YR requirement $2\% / \sqrt{E} \oplus (1-3)\%$", ) -plt.title(INPUT_PATH_FORMAT) plt.legend() plt.xlabel("Energy, GeV", loc="right") plt.ylabel(r"$\sigma_{E} / E$ derived from FWHM, %", loc="top") @@ -243,10 +240,6 @@ fig, axs = plt.subplots(2, 4, sharex=True, sharey=True, figsize=(15, 6)) fig_log, axs_log = plt.subplots(2, 4, sharex=True, sharey=True, figsize=(15, 6)) fig_roc, axs_roc = plt.subplots(2, 4, sharex=True, sharey=True, figsize=(15, 6)) -fig.suptitle(PLOT_TITLE) -fig_log.suptitle(PLOT_TITLE) -fig_roc.suptitle(PLOT_TITLE) - axs = np.ravel(np.array(axs)) axs_log = np.ravel(np.array(axs_log)) axs_roc = np.ravel(np.array(axs_roc)) @@ -317,7 +310,6 @@ for clf_label, roc in rocs.items(): label=f"{clf_label}", ) plt.yscale("log") -plt.title(INPUT_PATH_FORMAT) plt.legend() plt.xlabel("Energy, GeV") plt.ylabel("Pion rejection at 95%") -- GitLab