# HG changeset patch # User Jeff Hammel # Date 1425171635 28800 # Node ID 7a979736bbfc96bbdd41368628fbffddaa2449a2 # Parent 5dceb1d05a294dd684fdc0dfd3df8deb008e71be stubbing diff -r 5dceb1d05a29 -r 7a979736bbfc numerics/histogram.py --- a/numerics/histogram.py Sat Feb 28 16:59:08 2015 -0800 +++ b/numerics/histogram.py Sat Feb 28 17:00:35 2015 -0800 @@ -38,6 +38,9 @@ self.data = self.OrderedDict(zip(bins[:-1], bins[1:])) + def add(self, *values): + """add values to the histogram""" + def __iadd__(self, value): return self