title: Integrate histogram in python?
body: <p>Is there a simple command in matplotlib that let's me take the integral of histogram over a certain range? If I plot a histogram with:
       fig = plt.hist(x, bins)
  Then, is there a command like fig.integral(bin1, bin2)? That will return the integral of the histogram from bin1 to bin2?</p>