summaryrefslogtreecommitdiff
path: root/numpy/lib/histograms.py
diff options
context:
space:
mode:
authornglinh <nglinh2312@gmail.com>2020-04-04 00:26:09 +0800
committerGitHub <noreply@github.com>2020-04-03 11:26:09 -0500
commitcaa9b6045cedfaf0a4735bd2be55164549a4ddcf (patch)
treea627249e6a08e36dba906c3fdfd59a33b38b34af /numpy/lib/histograms.py
parent8626a559680d9d6e681c02e703bcaf3de389fc6d (diff)
downloadnumpy-caa9b6045cedfaf0a4735bd2be55164549a4ddcf.tar.gz
DOC: Minor fix to _hist_bin_fd documentation (#15839)
Co-Authored-By: Ross Barnowski <rossbar@berkeley.edu>>
Diffstat (limited to 'numpy/lib/histograms.py')
-rw-r--r--numpy/lib/histograms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/histograms.py b/numpy/lib/histograms.py
index 32d7df117..ede8a26e4 100644
--- a/numpy/lib/histograms.py
+++ b/numpy/lib/histograms.py
@@ -207,7 +207,7 @@ def _hist_bin_fd(x, range):
than the standard deviation, so it is less accurate, especially for
long tailed distributions.
- If the IQR is 0, this function returns 1 for the number of bins.
+ If the IQR is 0, this function returns 0 for the bin width.
Binwidth is inversely proportional to the cube root of data size
(asymptotically optimal).