Skip to content

Commit 3c5409e

Browse files
committed
Merge pull request #5757 from helderc/patch-1
DOC: Docstring of gradient() function
2 parents cf2f063 + a5416be commit 3c5409e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

numpy/lib/function_base.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -906,9 +906,9 @@ def gradient(f, *varargs, **kwargs):
906906
907907
Returns
908908
-------
909-
gradient : ndarray
910-
N arrays of the same shape as `f` giving the derivative of `f` with
911-
respect to each dimension.
909+
gradient : list of ndarray
910+
Each element of `list` has the same shape as `f` giving the derivative
911+
of `f` with respect to each dimension.
912912
913913
Examples
914914
--------

0 commit comments

Comments
 (0)