Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Medium
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 6.22/00
-
Component/s: None
-
Labels:None
-
Environment:
All
Description
If one creates a Canvas and call pad->Divide(,..) before calling TH2::FitSlicesX/Y the pad is not divided in subpads and only the last histogram is shown.
If One calls a second time FitSlices on another histogram all the pads seems to be deleted.
Attached is the example reproducing the issue. Calling Divide after FitSlices everything seems fine, but when fitting a second time the last pad of the first canvas seems to be deleted
See the attached macto. This problem has been reported in
https://root-forum.cern.ch/t/using-fitslicey-for-multiple-th2d/37930/