Closed lgray closed 5 years ago
Looks like it just includes the overflow bins now. Indeed there are h.values
and h.allvalues
to differentiate between including overflow, and likewise h.edges
and h.alledges
. Rather strange is the h.numpy
now has two definitions (the latter taking precedence)
In particular it seems this scale factor has meaningful content in the pt overflow, so we should accomodate that.
@nsmith- look at the pt axes, the bin low edges are rather different. The over flow bins in the histogram values are also missing.
Ah, ok, the histogram values make sense. The overflow is repeated. The pt-axis bin values are still messed up.
Is this still broken?
It appears to work as expected per the discussion in #32
Okay, good. Thanks.
Using uproot 0.3.2 causes the binning of the pt axis for the histogram here to be incorrect: https://github.com/CoffeaTeam/fnal-column-analysis-tools/blob/master/tests/samples/testSF2d.histo.root
output in uproot 0.3.1 (correct by verifying in ROOT):
output in uproot 0.3.2 (second axis is totally wrong):