Skip to content
Snippets Groups Projects
Verified Commit 7db73cad authored by Frank Sauerburger's avatar Frank Sauerburger
Browse files

Overwrite y-label if density=True

parent c9c8a755
No related branches found
No related tags found
1 merge request!1Update upstream
......@@ -263,6 +263,9 @@ def hist(dataframe, variable, bins, stacks, selection=None,
if isinstance(denominator, int) and stacks[denominator] == stack:
denominator = stack
if density:
uhepp_obj.y_label = "Events (a.u.)"
uhepp_obj.ratio_label = ratio_label
if ratio_range:
uhepp_obj.ratio_min = ratio_range[0]
......
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