I have plotted 5 TH1 in test.C
The first I have plotted is the red one (hh). Then I plotted the black TH1 with the option “same”. If I choose to fit the red TH1 (via graphical tool or via command line), the result of the fit is displayed but the other TH1s (hh1, hh2, … in black) disappear.
It is not the cas if I fit one of the black histo (the result of the fit is displayed and no TH1 is removed)
I guess it is a bug which should be fixed.
Thanks in advance
The problem is present in ROOT 5.34/18
test.C (227 KB)