def compute(): print analysis_strategy.histogram(self.args.histogram[0], int(self.args.histogram[1]))
def _(self, image): n_buckets = 4 h = analysis_strategy.histogram(image, n_buckets) ok (h[0]) == 6
def _(self, image): n_buckets = 4 h = analysis_strategy.histogram(image, n_buckets) ok(h[0]) == 6