Subject: | number of bins vs. bin width variable |
1. In the sub _histogram_bins, line 107 performs a calculation and
stores the result in a variable called $nbins. After research, I've
found that the calculation is actually for bin-width.
2. On line 110, the variable $binwidth is calculated to be the
difference of $max and $min divided by $nbins. The result of the
calculation is actually supposed to be the number of bins.
Line 118 and 119 reference $nbins and $binwidth variables by the values
that these variables hold aren't correct for the way they are
calculated/used given the statements #1 and #2 in this bug report.