fix histogram error error :)
@@ -630,7 +630,7 @@ class Histogram(object):
self.bins = self.bins.tolist()
if len(self.histogram) > self.MAX_LENGTH:
raise ValueError(
- "The maximum length of a histogram is %i" % MAX_LENGTH)
+ "The maximum length of a histogram is %i" % self.MAX_LENGTH)
if len(self.histogram) + 1 != len(self.bins):
raise ValueError("len(bins) must be len(histogram) + 1")
