summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authornjsmith <njs@pobox.com>2012-09-04 02:16:41 -0700
committernjsmith <njs@pobox.com>2012-09-04 02:16:41 -0700
commit4c73e7c5b2953d338a91ab912d3077c09acadaed (patch)
tree72487955180e10c8da654a6a5f2653448f4e5e56 /numpy
parentcd9092aa71d23359b33e89d938c55fb14b9bf606 (diff)
parent0f1d2d929a0f7babb6d4471e987be1da34e06e34 (diff)
downloadnumpy-4c73e7c5b2953d338a91ab912d3077c09acadaed.tar.gz
Merge pull request #423 from adamlwgriffiths/master
Fix typo in documentation (101 instead of 10).
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/code_generators/ufunc_docstrings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/code_generators/ufunc_docstrings.py b/numpy/core/code_generators/ufunc_docstrings.py
index 8d7b83239..1b666f098 100644
--- a/numpy/core/code_generators/ufunc_docstrings.py
+++ b/numpy/core/code_generators/ufunc_docstrings.py
@@ -46,7 +46,7 @@ add_newdoc('numpy.core.umath', 'absolute',
>>> import matplotlib.pyplot as plt
- >>> x = np.linspace(-10, 10, 101)
+ >>> x = np.linspace(-10, 10, 10)
>>> plt.plot(x, np.absolute(x))
>>> plt.show()