I think you'll want a bins param here: http://docs.scipy.org/doc/numpy/reference/generated/numpy.histogram.html

and I bet it will be more useful to have unequal size buckets, but you can play around and see