Re: [Matplotlib-users] Integer equal-width bins for histograms

2014-05-30 Thread Antony Lee
Yes, I understand there are alternatives -- but I still think a simple, binned histogram is a fairly basic feature. KDEs are nice but can easily be overtweaked (if I see one I certainly want to know how the bandwidth was selected, otherwise it's not better than a histogram -- even worse, as the iss

Re: [Matplotlib-users] Integer equal-width bins for histograms

2014-05-30 Thread Antony Lee
I can still need to bin data, e.g. when the data range is "large", or at least not small compared to the number of data points. Antony 2014-05-30 5:03 GMT-07:00 Yoshi Rokuko : > Am Thu, 29 May 2014 14:14:52 -0700 > schrieb Antony Lee : > > > Hi, > > When histogramming integer data, is there an e

Re: [Matplotlib-users] Integer equal-width bins for histograms

2014-05-30 Thread Yoshi Rokuko
Am Thu, 29 May 2014 14:14:52 -0700 schrieb Antony Lee : > Hi, > When histogramming integer data, is there an easy way to tell > matplotlib that I want a certain number of bins, and each bin to > cover an equal number of integers (except possibly the last one)? > (in order to avoid having some bins