I am using matplotlib.pyplot to create histograms. I\'m not actually interested in the plots of these histograms, but interested in the frequencies and bins (I know I can write
If you would like to simply compute the histogram (that is, count the number of points in a given bin) and not display it, the np.histogram() function is available