diff options
author | Melissa Weber Mendonça <melissawm@gmail.com> | 2021-08-17 18:48:53 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-17 18:48:53 -0300 |
commit | 04216da0970380bb9ef3c0437eb98d63bb78b680 (patch) | |
tree | 0ee841af817294bfccc6bda042f91c7b61bb31bf /numpy/lib | |
parent | 9e1c34eda4569a96fba07ed56fb971dedbb438fa (diff) | |
parent | a562cb2d44760d01a5481280d98248026fabeb40 (diff) | |
download | numpy-04216da0970380bb9ef3c0437eb98d63bb78b680.tar.gz |
Merge pull request #19695 from ghilesmeddour/topic/fix_typo
DOC: Fix typo in `unwrap` docstring.
Diffstat (limited to 'numpy/lib')
-rw-r--r-- | numpy/lib/function_base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/function_base.py b/numpy/lib/function_base.py index 6f19619bb..d875a00ae 100644 --- a/numpy/lib/function_base.py +++ b/numpy/lib/function_base.py @@ -1512,7 +1512,7 @@ def unwrap(p, discont=None, axis=-1, *, period=2*pi): difference from their predecessor of more than ``max(discont, period/2)`` to their `period`-complementary values. - For the default case where `period` is :math:`2\pi` and is `discont` is + For the default case where `period` is :math:`2\pi` and `discont` is :math:`\pi`, this unwraps a radian phase `p` such that adjacent differences are never greater than :math:`\pi` by adding :math:`2k\pi` for some integer :math:`k`. |