diff options
author | Adam Griffiths <adam.lw.griffiths@gmail.com> | 2012-09-04 15:22:24 +1000 |
---|---|---|
committer | Adam Griffiths <adam.lw.griffiths@gmail.com> | 2012-09-04 15:22:24 +1000 |
commit | 0f1d2d929a0f7babb6d4471e987be1da34e06e34 (patch) | |
tree | 72487955180e10c8da654a6a5f2653448f4e5e56 /numpy | |
parent | cd9092aa71d23359b33e89d938c55fb14b9bf606 (diff) | |
download | numpy-0f1d2d929a0f7babb6d4471e987be1da34e06e34.tar.gz |
Fix typo in documentation (101 instead of 10).
Examples demonstrate using an array with (-10, 0, 10),
but this specific example has a typo that lists the
last number as 101.
This is reflected in the diagrams having axis labeled
from -10:+10.
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/core/code_generators/ufunc_docstrings.py | 2 |
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() |