update the example
update the example
update the example
update the code, use numpy.histogram in integration