Skip to content
This repository has been archived by the owner on Jan 27, 2023. It is now read-only.

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

Open
mostafa1993 opened this issue Nov 19, 2019 · 1 comment
Open

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

mostafa1993 opened this issue Nov 19, 2019 · 1 comment

Comments

@mostafa1993
Copy link

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 mostafa1993 changed the title Bug in TH1.py, line 146, in show Bug in TH1.py, line 146, in show method Nov 19, 2019
@jpivarski
Copy link
Member

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants