Skip to content
Snippets Groups Projects

Resolve "Density switch does not change the y_axis label"

1 file
+ 3
0
Compare changes
  • Side-by-side
  • Inline
+ 3
0
@@ -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]
Loading