summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authornjsmith <njs@pobox.com>2012-09-04 11:37:37 +0200
committernjsmith <njs@pobox.com>2012-09-04 11:37:37 +0200
commita72ce7edc9ff9e98ba73251c626abccb0691415e (patch)
tree041b31fad1176409102b58ced41286326bff3b79 /numpy
parent4c73e7c5b2953d338a91ab912d3077c09acadaed (diff)
downloadnumpy-a72ce7edc9ff9e98ba73251c626abccb0691415e.tar.gz
Update numpy/core/code_generators/ufunc_docstrings.py
Revert PR #423 (which was based on a misunderstanding).
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 1b666f098..678303a2e 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, 10)
+ >>> x = np.linspace(start=-10, stop=10, num=101)
>>> plt.plot(x, np.absolute(x))
>>> plt.show()