TMath function in interactive pyroot session

Hi,

I would like to know if there is a way to do in pyroot the analog of the c++
tree->Draw(“TMath::Erf(branchname)”)
in the command line. I’ve tried several things but none of them worked.
Thanks for any help.
Jada

Do you mean that tree.Draw("TMath::Erf(branchname)") failed? How did it fail?

Philippe.