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