From 962525096dce0717377141c423a080a3cc636f9f Mon Sep 17 00:00:00 2001 From: Felix Divo Date: Tue, 4 Aug 2020 11:49:39 +0200 Subject: DOC: Update docs of clip() to allow for scalar arguments too --- numpy/core/fromnumeric.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/core/fromnumeric.py') 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 -- cgit v1.2.1