uproot3-methods icon indicating copy to clipboard operation
uproot3-methods copied to clipboard

Bug in TH1.py, line 146, in show method

Open mostafa1993 opened this issue 6 years ago • 1 comments

If you have <class 'uproot.rootio.TH2D'> type object, when you try to use the 'show' method, there will be error. The error is comming from: TH1.py file line 146: intervals = ["[{0:<.5g}, {1:<.5g})".format(l, h) for l, h in [self.interval(i) for i in range(len(self))]]

mostafa1993 avatar Nov 19 '19 11:11 mostafa1993

uproot-methods is user-contributed. Since you've found the offending line, could you submit a PR?

jpivarski avatar Nov 19 '19 12:11 jpivarski