No fit information on the statbox from fitted and saved histograms

i open up histograms in file a, fitted them and write (without writting the fit functions) them to a file b.
then when i open up the histograms in file b, i cant see fit information on the plots.
I have already issued gStyle->SetOptFit(1111); before the fit. what supprised me is that the similar code from my friend (he cloned the histogram from the file and fit the cloned one) worked.
What’s wrong ?


ROOT Version: 6.24.00 (conda)
Platform: ubuntu 20.04
Compiler: gcc9


So, if your friend’s code worked, what is the problem?

i forgot to add gStyle->OptFit(1111) during the drawing.

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