diff options
author | Felix Divo <felixdivo@users.noreply.github.com> | 2020-08-04 21:27:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-04 21:27:56 +0200 |
commit | 85c04b023e0320eda5a1e25fcbf8e5c45f9d05d7 (patch) | |
tree | 88eb12e0e6fe1577dd0de21bca74f3443edbbd29 /numpy/core/fromnumeric.py | |
parent | 962525096dce0717377141c423a080a3cc636f9f (diff) | |
download | numpy-85c04b023e0320eda5a1e25fcbf8e5c45f9d05d7.tar.gz |
DOC: improve documentation of numpy.clip() after discussion
Diffstat (limited to 'numpy/core/fromnumeric.py')
-rw-r--r-- | numpy/core/fromnumeric.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/core/fromnumeric.py b/numpy/core/fromnumeric.py index 2e8f29fc6..924690e4b 100644 --- a/numpy/core/fromnumeric.py +++ b/numpy/core/fromnumeric.py @@ -2057,13 +2057,13 @@ def clip(a, a_min, a_max, out=None, **kwargs): Parameters ---------- - a : scalar or array_like + a : array_like Array containing elements to clip. - a_min : scalar or array_like or None + a_min : array_like or None Minimum value. If None, clipping is not performed on lower interval edge. Not more than one of `a_min` and `a_max` may be None. - a_max : scalar or array_like or None + a_max : array_like or None Maximum value. If None, clipping is not performed on upper interval edge. Not more than one of `a_min` and `a_max` may be None. If `a_min` or `a_max` are array_like, then the three |