Hello, it seems that the constructor of TAxis doesn’t work:
a = array("f", [0, 1, 2])
ax = ROOT.TAxis(len(a) - 1, a)
TAxis::TAxis(Int_t nbins, const Double_t* xbins) =>
could not convert argument 2
by the way TAxis::Set works.
Hello, it seems that the constructor of TAxis doesn’t work:
a = array("f", [0, 1, 2])
ax = ROOT.TAxis(len(a) - 1, a)
TAxis::TAxis(Int_t nbins, const Double_t* xbins) =>
could not convert argument 2
by the way TAxis::Set works.
sorry, I realized I have to used array(“d”, …)