# HG changeset patch # User Jeff Hammel # Date 1425225203 28800 # Node ID 630cde28928aa5518c1a52a4c024a17fee1c495c # Parent 8e93d7357c6bc46b29073723b34bddbf0ca71883 accessor diff -r 8e93d7357c6b -r 630cde28928a numerics/histogram.py --- a/numerics/histogram.py Sat Feb 28 21:28:17 2015 -0800 +++ b/numerics/histogram.py Sun Mar 01 07:53:23 2015 -0800 @@ -62,6 +62,11 @@ def keys(self): return self.data.keys() + def max(self): + """return max length""" + return max([len(value) for value in self.data.values()]) + + class HistogramParser(CSVParser): """histogram CLI option parser"""