diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2016-08-26 12:01:44 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-26 12:01:44 -0500 |
commit | 6d04b385a6ed2c4a39904f762450b0b07486ae8e (patch) | |
tree | 18774468065215d3878048fd67206e3af0e3d5a7 | |
parent | 90668d0e740e30102fa3d0a1a72b485ebe9d99c3 (diff) | |
parent | 3bc03ae143b5321abf5ab2fd6676286d4c090716 (diff) | |
download | numpy-6d04b385a6ed2c4a39904f762450b0b07486ae8e.tar.gz |
Merge pull request #7976 from madphysicist/patch-1
DOC: Fixed documented dimension of return value
-rw-r--r-- | numpy/lib/polynomial.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/polynomial.py b/numpy/lib/polynomial.py index d96b8969f..d178ba4b3 100644 --- a/numpy/lib/polynomial.py +++ b/numpy/lib/polynomial.py @@ -431,7 +431,7 @@ def polyfit(x, y, deg, rcond=None, full=False, w=None, cov=False): Returns ------- - p : ndarray, shape (M,) or (M, K) + p : ndarray, shape (deg + 1,) or (deg + 1, K) Polynomial coefficients, highest power first. If `y` was 2-D, the coefficients for `k`-th data set are in ``p[:,k]``. |