diff options
author | Eric Wieser <wieser.eric@gmail.com> | 2018-08-15 09:27:03 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-15 09:27:03 -0700 |
commit | 591880b0a7bcbb493d9ec023783157818f2f5236 (patch) | |
tree | 715e2d41bd4d3ffdab8eb9f8e08243333454bc8d /numpy | |
parent | 03138a9a2c625efe8bff229aba6ddabd33439685 (diff) | |
parent | fdf284c29b241bda33be8bba3f667d3ac86fdc14 (diff) | |
download | numpy-591880b0a7bcbb493d9ec023783157818f2f5236.tar.gz |
Merge pull request #11745 from charris/fix-polyfit-doc
DOC: Small docstring fixes for old polyfit.
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/lib/polynomial.py | 3 | ||||
-rw-r--r-- | numpy/polynomial/_polybase.py | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/numpy/lib/polynomial.py b/numpy/lib/polynomial.py index 0de39877a..9f3b84732 100644 --- a/numpy/lib/polynomial.py +++ b/numpy/lib/polynomial.py @@ -400,8 +400,7 @@ def polyfit(x, y, deg, rcond=None, full=False, w=None, cov=False): The `Polynomial.fit <numpy.polynomial.polynomial.Polynomial.fit>` class method is recommended for new code as it is more stable numerically. See - the documentation for the method for more information, or the convenience - function `polynomial.polyfit <numpy.polynomial.polynomial.polyfit>`. + the documentation of the method for more information. Parameters ---------- diff --git a/numpy/polynomial/_polybase.py b/numpy/polynomial/_polybase.py index 98f16836c..ccbf30bda 100644 --- a/numpy/polynomial/_polybase.py +++ b/numpy/polynomial/_polybase.py @@ -862,7 +862,7 @@ class ABCPolyBase(object): A series that represents the least squares fit to the data and has the domain and window specified in the call. If the coefficients for the unscaled and unshifted basis polynomials are - of interest, do ``new_series.convert().coef`` + of interest, do ``new_series.convert().coef``. [resid, rank, sv, rcond] : list These values are only returned if `full` = True |