Skip to content
Snippets Groups Projects
Commit 0af6bfe8 authored by Patrick Ecker's avatar Patrick Ecker
Browse files

changed the plot style

parent 537dd947
Branches
No related tags found
1 merge request!63Low level cut study
......@@ -71,7 +71,7 @@ class LowLevelCutPlotter:
fig, ax = plt.subplots()
cuts = list(new_cut_info.cut_limits) if isinstance(new_cut_info.cut_limits, Tuple) else [new_cut_info.cut_limits]
for cut in cuts:
ax.axvline(cut, color=KITColors.kit_black)
ax.axvline(cut, color=KITColors.kit_red)
df_bkg = df.query("isSignal == 0")
bkg_data = df_bkg[cut_var].abs() if new_cut_info.cut_abs else df_bkg[cut_var]
df_sig = df.query("isSignal == 1")
......@@ -81,9 +81,10 @@ class LowLevelCutPlotter:
bins=50,
histtype="stepfilled",
stacked=True,
lw=1.5,
color=[KITColors.kit_brown, KITColors.kit_cyan],
label=["Background", "Signal"]
lw=1.,
color=[KITColors.kit_yellow, KITColors.kit_cyan],
label=["Background", "Signal"],
edgecolor=KITColors.kit_black
)
plt.grid(False)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment