Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
High
-
Resolution: Fixed
-
Affects Version/s: 6.18/00
-
Fix Version/s: 6.22/00
-
Component/s: PyROOT
-
Labels:None
-
Environment:
Centos7, Python2
Description
As reported in:
https://root-forum.cern.ch/t/root-th2-getbinerrorup-bin-not-exposed-to-pyroot/33862
PyROOT fails to find the right overload for GetBinErrorUp when invoking it with one integer:
>>> import ROOT as R |
>>> h = R.TH2D("h","h",100,0,1,100,0,1) |
>>> h.GetBinErrorUp(1) |
Traceback (most recent call last):
|
File "<stdin>", line 1, in <module> |
TypeError: double TH2::GetBinErrorUp(int binx, int biny) => |
takes at least 2 arguments (1 given) |