Skip to content

Commit 93b23f0

Browse files
committed
removed hardcoded title
1 parent c83b84e commit 93b23f0

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

validphys2/src/validphys/closuretest/multiclosure_nsigma_output.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def plot_all_sets(set_1, set_3, set_2, n_fits):
2626
ax.plot(set_1.keys(), s1, linewidth=3, label=r"$P_{\rm flag}, S_1$")
2727
ax.plot(set_2.keys(), s2, linestyle='--', linewidth=3, label=r"$P_{\rm flag}, S_2$")
2828
ax.plot(set_3.keys(), s3, linestyle=':', linewidth=3, label=r"$P_{\rm flag}, S_3$")
29-
ax.set_title(r"HERA I + II $\sigma_{e^+p}$, $E_p$=575 GeV")
29+
3030
ax.set_xlabel(r"$Z$", fontsize='large')
3131
ax.set_ylabel(r"$P_{\rm flag}$", fontsize='large')
3232
ax.legend(fontsize='large')
@@ -54,7 +54,6 @@ def plot_1_minus_all_sets(set_1, set_3, set_2, n_fits):
5454
set_3.keys(), 1 - np.array(s3), linewidth=3, linestyle=":", label=r"$P_{\rm flag}, S_3$"
5555
)
5656

57-
ax.set_title(r"HERA I + II $\sigma_{e^+p}$, $E_p$=575 GeV")
5857
ax.set_xlabel(r"$Z$", fontsize='large')
5958
ax.set_ylabel(r"$1 - P_{\rm flag}$", fontsize='large')
6059
ax.legend(fontsize='large')
@@ -92,7 +91,7 @@ def plot_probability_inconsistent(probability_inconsistent, set_1, weighted_data
9291

9392
ax.set_xlabel(r"$Z$", fontsize='large')
9493
ax.set_ylabel(r"$P_{\rm flag}$", fontsize='large')
95-
ax.set_title(r"HERA I + II $\sigma_{e^+p}$, $E_p$=575 GeV")
94+
9695
ax.legend(fontsize='large')
9796
return fig
9897

@@ -127,6 +126,6 @@ def plot_probability_consistent(probability_inconsistent, comp_set_1, weighted_d
127126

128127
ax.set_xlabel(r"$Z$", fontsize='large')
129128
ax.set_ylabel(r"$1 - P_{\rm flag}$", fontsize='large')
130-
ax.set_title(r"HERA I + II $\sigma_{e^+p}$, $E_p$=575 GeV")
129+
131130
ax.legend(fontsize='large')
132131
return fig

0 commit comments

Comments
 (0)