We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90511a1 commit 2ea532aCopy full SHA for 2ea532a
scripts/hgwatch
@@ -37,14 +37,15 @@ commandSets = {
37
# for --root
38
"root": """
39
import ROOT
40
+roothist = None
41
-# Must give hg.root the right number of "name" strings.
42
+# Must give hg.plot.root the right number of "name" strings.
43
if isinstance(hg, Fraction):
- roothist = hg.root(newName(), newName())
44
+ roothist = hg.plot.root(newName(), newName())
45
elif isinstance(hg, (Stack, IrregularlyBin)):
- roothist = hg.root(*[newName() for i in xrange(hg.cuts)])
46
+ roothist = hg.plot.root(*[newName() for i in xrange(hg.cuts)])
47
else:
- roothist = hg.root(newName())
48
+ roothist = hg.plot.root(newName())
49
50
if isinstance(roothist, ROOT.TH2):
51
roothist.Draw("colz") # Preferred visualization.
0 commit comments