8000 Merge pull request #7976 from madphysicist/patch-1 · numpy/numpy@6d04b38 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6d04b38

Browse files
authored
Merge pull request #7976 from madphysicist/patch-1
DOC: Fixed documented dimension of return value
2 parents 90668d0 + 3bc03ae commit 6d04b38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numpy/lib/polynomial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ def polyfit(x, y, deg, rcond=None, full=False, w=None, cov=False):
431431
432432
Returns
433433
-------
434-
p : ndarray, shape (M,) or (M, K)
434+
p : ndarray, shape (deg + 1,) or (deg + 1, K)
435435
Polynomial coefficients, highest power first. If `y` was 2-D, the
436436
coefficients for `k`-th data set are in ``p[:,k]``.
437437

0 commit comments

Comments
 (0)
0