From e42b2b73641be680b7ffddffe87c0f562dd79249 Mon Sep 17 00:00:00 2001 From: Wojciech Rzadkowski Date: Fri, 5 Jun 2020 18:35:18 +0200 Subject: DOC: mention only single-polynomial fitting in np.polynomial.Polynomial.fit() --- numpy/polynomial/_polybase.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'numpy') diff --git a/numpy/polynomial/_polybase.py b/numpy/polynomial/_polybase.py index 30887b670..bc0f79636 100644 --- a/numpy/polynomial/_polybase.py +++ b/numpy/polynomial/_polybase.py @@ -919,10 +919,8 @@ class ABCPolyBase(abc.ABC): ---------- x : array_like, shape (M,) x-coordinates of the M sample points ``(x[i], y[i])``. - y : array_like, shape (M,) or (M, K) - y-coordinates of the sample points. Several data sets of sample - points sharing the same x-coordinates can be fitted at once by - passing in a 2D-array that contains one dataset per column. + y : array_like, shape (M,) + y-coordinates of the sample points. deg : int or 1-D array_like Degree(s) of the fitting polynomials. If `deg` is a single integer all terms up to and including the `deg`'th term are included in the -- cgit v1.2.1