summaryrefslogtreecommitdiff
path: root/numpy/lib/function_base.py
diff options
context:
space:
mode:
authorRalf Gommers <ralf.gommers@gmail.com>2017-06-10 15:56:14 +1200
committerRalf Gommers <ralf.gommers@gmail.com>2017-06-10 18:19:17 +1200
commit34075a54e7aa10e80d41ef33ec7102292ecff0d5 (patch)
tree537ce22035ad4a22e7eba29720124b5eb82d4574 /numpy/lib/function_base.py
parentfa913a8ea6a8b363962dec6d656049a1371b53d9 (diff)
downloadnumpy-34075a54e7aa10e80d41ef33ec7102292ecff0d5.tar.gz
DOC: BLD: fix lots of Sphinx warnings/errors.
Diffstat (limited to 'numpy/lib/function_base.py')
-rw-r--r--numpy/lib/function_base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/function_base.py b/numpy/lib/function_base.py
index a127c366b..4739b2176 100644
--- a/numpy/lib/function_base.py
+++ b/numpy/lib/function_base.py
@@ -627,7 +627,7 @@ def histogram(a, bins=10, range=None, normed=False, weights=None,
array([ 0.5, 0. , 0.5, 0. , 0. , 0.5, 0. , 0.5, 0. , 0.5])
>>> hist.sum()
2.4999999999999996
- >>> np.sum(hist*np.diff(bin_edges))
+ >>> np.sum(hist * np.diff(bin_edges))
1.0
.. versionadded:: 1.11.0