summaryrefslogtreecommitdiff
path: root/numpy/lib/function_base.py
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2021-02-16 09:23:43 +0000
committerGitHub <noreply@github.com>2021-02-16 09:23:43 +0000
commitf80fe629ea371914492e78a48994ed3ce2f2da48 (patch)
tree224b2b0a7eb884c00915ba58def13a4f2bc9cf8a /numpy/lib/function_base.py
parentfa7f79d05936164cf5907880e68a8929bee074a5 (diff)
downloadnumpy-f80fe629ea371914492e78a48994ed3ce2f2da48.tar.gz
Update numpy/lib/function_base.py
Diffstat (limited to 'numpy/lib/function_base.py')
-rw-r--r--numpy/lib/function_base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/function_base.py b/numpy/lib/function_base.py
index 4276a010e..83786adfd 100644
--- a/numpy/lib/function_base.py
+++ b/numpy/lib/function_base.py
@@ -1543,7 +1543,7 @@ def unwrap(p, discont=None, axis=-1, *, period=2*pi):
array([1, 2, 3, 4, 5, 6, 7, 8, 9])
>>> unwrap([2, 3, 4, 5, 2, 3, 4, 5], period=4)
array([2, 3, 4, 5, 6, 7, 8, 9])
- >>> phase_deg = np.mod(np.linspace(0,720,19), 360) - 180
+ >>> phase_deg = np.mod(np.linspace(0 ,720, 19), 360) - 180
>>> unwrap(phase_deg, period=360)
array([-180., -140., -100., -60., -20., 20., 60., 100., 140.,
180., 220., 260., 300., 340., 380., 420., 460., 500.,