diff options
author | Felix Divo <felixdivo@users.noreply.github.com> | 2020-08-04 11:49:39 +0200 |
---|---|---|
committer | Felix Divo <felix.divo@gmail.com> | 2020-08-04 11:53:43 +0200 |
commit | 962525096dce0717377141c423a080a3cc636f9f (patch) | |
tree | 657bfe61299ce58155f349aa0630efd6a966c1a3 /numpy/core/fromnumeric.py | |
parent | 593ef5fc5a02fbcd6eeb70a59684b3b21c9cc643 (diff) | |
download | numpy-962525096dce0717377141c423a080a3cc636f9f.tar.gz |
DOC: Update docs of clip() to allow for scalar arguments too
Diffstat (limited to 'numpy/core/fromnumeric.py')
-rw-r--r-- | numpy/core/fromnumeric.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/fromnumeric.py b/numpy/core/fromnumeric.py index f8c11c015..2e8f29fc6 100644 --- a/numpy/core/fromnumeric.py +++ b/numpy/core/fromnumeric.py @@ -2057,7 +2057,7 @@ def clip(a, a_min, a_max, out=None, **kwargs): Parameters ---------- - a : array_like + a : scalar or array_like Array containing elements to clip. a_min : scalar or array_like or None Minimum value. If None, clipping is not performed on lower |