def make_histogram(points, bucket_size):
 return Counter((bucketize(point, bucket_size) for point in points))

def make_histogram ( points , bucket_size ) : return Counter ( ( bucketize ( point , bucket_size ) for point in points ) )
buckets the points and counts how many in each bucket .