summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2017-01-20 15:16:32 -0700
committerGitHub <noreply@github.com>2017-01-20 15:16:32 -0700
commitd5b937f6367643948c76bf60384ac0aa9b565178 (patch)
treef4a381472293b153ef098bed62c7c0119148bdf1
parented5e30a8962551397e61f720e1d8102ccad915f4 (diff)
parente316832b52ddb3ac58167b1e5241344a77217365 (diff)
downloadnumpy-d5b937f6367643948c76bf60384ac0aa9b565178.tar.gz
Merge pull request #8501 from dhermes/chebyshev-typo
Changing spurious Legendre reference to Chebyshev in chebfit docstring.
-rw-r--r--numpy/polynomial/chebyshev.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/polynomial/chebyshev.py b/numpy/polynomial/chebyshev.py
index 5d28b990f..44fb32b5f 100644
--- a/numpy/polynomial/chebyshev.py
+++ b/numpy/polynomial/chebyshev.py
@@ -1598,7 +1598,7 @@ def chebfit(x, y, deg, rcond=None, full=False, w=None):
"""
Least squares fit of Chebyshev series to data.
- Return the coefficients of a Legendre series of degree `deg` that is the
+ Return the coefficients of a Chebyshev series of degree `deg` that is the
least squares fit to the data values `y` given at points `x`. If `y` is
1-D the returned coefficients will also be 1-D. If `y` is 2-D multiple
fits are done, one for each column of `y`, and the resulting