I am trying to understand the meaning of nBins in requesting histograms from the statistical API.
The relevant doc I found is here..
It says: number of bins
Let’s say the min value (for the histogram) is 0.2 the max value is 0.8, and I specify nBins=7.
How is the width of each bin calculated? is it equal width, i.e., (max-min)/nBins? does it calculate the width of each bin so that each bin contains more or less the same number of values? it is something else?