From f80fe629ea371914492e78a48994ed3ce2f2da48 Mon Sep 17 00:00:00 2001 From: Eric Wieser Date: Tue, 16 Feb 2021 09:23:43 +0000 Subject: Update numpy/lib/function_base.py --- numpy/lib/function_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/lib/function_base.py') 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., -- cgit v1.2.1