Skip to content

Commit c219764

Browse files
authored
Merge pull request #26 from vincecr0ft/master
attribute error in plotting Stack and Partition
2 parents 11773c7 + 0f7cddd commit c219764

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

histogrammar/plot/root.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ class StackedHistogramMethods(object):
189189
def plotroot(self, *names):
190190
import ROOT
191191
out = OrderedDict()
192-
for n, (c, v) in zip(names, self.cuts):
192+
for n, (c, v) in zip(names, self.thresholds):
193193
if isinstance(n, (list, tuple)) and len(n) == 2:
194194
name, title = n
195195
else:
@@ -211,7 +211,7 @@ class PartitionedHistogramMethods(object):
211211
def plotroot(self, *names):
212212
import ROOT
213213
out = OrderedDict()
214-
for n, (c, v) in zip(names, self.cuts):
214+
for n, (c, v) in zip(names, self.thresholds):
215215
if isinstance(n, (list, tuple)) and len(n) == 2:
216216
name, title = n
217217
else:

0 commit comments

Comments
 (0)