Dear,

I’m trying to get the quantile value for 60%, and here is what I’m doing

h = ROOT.TH1F(“h”,“demo quantiles”,100,-3,3)

h.FillRandom(“gaus”,5000)

prob=np.array([0.6])

q=np.array([0.])

print h.GetQuantiles(1,q,prob)

But this is returning 1, regardless of what my histogram is, am I doing something wrong?

many thanks!