Accessing fit status code

I have seen people getting fit status code in C++ like this:

        int status = histo->Fit( func, "REMS");

a couple questions about this:

  1. is this feature only possible with option “S” ?
  2. if I want to do the same in python, what is the equivalent code ?

ROOT Version: 6.26 (conda-forge)
Platform: ubuntu 20.04
Compiler: gcc9


You do not need the “S” option if you only want the integer “fit status”: TH1::Fit

when I did this, the “x” is not an integer…
image

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.