We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd6a5fc commit b010781Copy full SHA for b010781
src/cabinetry/visualize/plot_model.py
@@ -71,7 +71,7 @@ def data_mc(
71
bin_width_norm = (bin_edges[1:] - bin_edges[:-1]) / rescaling_factor
72
else:
73
unit = None
74
- bin_width_norm = np.ones_like(bin_edges)
+ bin_width_norm = np.ones_like(bin_edges[:-1])
75
76
total_model_unc /= bin_width_norm # apply bin width normalization
77
0 commit comments