summaryrefslogtreecommitdiff
path: root/numpy/lib/function_base.py
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2019-04-20 22:50:59 +0300
committerGitHub <noreply@github.com>2019-04-20 22:50:59 +0300
commit9050e0bcba7775fcb7fec15d1d242bafc8c0ed0c (patch)
tree57fe20ffff3aeb26f6bb1f58f3b4456ba8382df7 /numpy/lib/function_base.py
parentcd2e52ce9dc54b0199beba25bd5e02ce54d60963 (diff)
parentfc93cb3e5d5dcf50f95cfda088124768531456f4 (diff)
downloadnumpy-9050e0bcba7775fcb7fec15d1d242bafc8c0ed0c.tar.gz
Merge pull request #13374 from kritisingh1/angle
DOC: Specify range for numpy.angle
Diffstat (limited to 'numpy/lib/function_base.py')
-rw-r--r--numpy/lib/function_base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/lib/function_base.py b/numpy/lib/function_base.py
index e9908d1ef..2e82fa075 100644
--- a/numpy/lib/function_base.py
+++ b/numpy/lib/function_base.py
@@ -1429,8 +1429,8 @@ def angle(z, deg=False):
Returns
-------
angle : ndarray or scalar
- The counterclockwise angle from the positive real axis on
- the complex plane, with dtype as numpy.float64.
+ The counterclockwise angle from the positive real axis on the complex
+ plane in the range ``(-pi, pi]``, with dtype as numpy.float64.
..versionchanged:: 1.16.0
This function works on subclasses of ndarray like `ma.array`.