summaryrefslogtreecommitdiff
path: root/numpy/lib/polynomial.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2018-08-15 08:04:59 -0600
committerCharles Harris <charlesr.harris@gmail.com>2018-08-15 08:04:59 -0600
commitfdf284c29b241bda33be8bba3f667d3ac86fdc14 (patch)
treee085e581f419c3cc8459642ef8de0466dc5bdfaf /numpy/lib/polynomial.py
parent4a0c307b1af162c4e3363a8b4c90fa1a138adebf (diff)
downloadnumpy-fdf284c29b241bda33be8bba3f667d3ac86fdc14.tar.gz
DOC: Small docstring fixes for old polyfit.
* Remove misleading reference to numpy/polynomial/polynomial/polyfit. * Add missing period in numpy/polynomial/_polybase.py
Diffstat (limited to 'numpy/lib/polynomial.py')
-rw-r--r--numpy/lib/polynomial.py3
1 files changed, 1 insertions, 2 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
----------