Displaying and labeling peaks using DynamicSlice

t2 = [0]*nfound and then t2[p]

@couet ROOT 6.20/06 with python2 … why does it not work when (in the macro from the first post here) one replaces “t2.Draw()” with “gROOT.SetSelectedPad(gPad); t2.DrawClone()”? It does draw all “cloned” texts but it also looks like all “clones” are immediately deleted, while they should be owned by the pad (and remain). I cannot try it in the newly released ROOT 6.22/00 due to its bugs in python2 support.

1 Like