Skip to content
Snippets Groups Projects
Unverified Commit 6d2779e7 authored by Frank Sauerburger's avatar Frank Sauerburger
Browse files

Draw uncertainty band around last process

parent aa23dcb0
No related branches found
No related tags found
1 merge request!38Resolve "Implement blinding"
Pipeline #12553 passed
......@@ -253,7 +253,7 @@ def hist(dataframe, variable, bins, stacks, selection=None,
# Draw uncertainty band
if (uncertainty > 0).any():
band_lower = bottom - uncertainty
band_lower = bottom + histogram - uncertainty
axes.hist(bin_centers, bins=bins, bottom=band_lower,
weights=uncertainty * 2, fill=False, hatch='/////',
linewidth=0, edgecolor="#666666")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment