From 69bdfe0339416cc5063bbb17ba4d7380075a235a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Boulogne?= Date: Mon, 14 Oct 2013 16:22:29 +0200 Subject: [PATCH] PEP8 another one --- skimage/util/shape.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/skimage/util/shape.py b/skimage/util/shape.py index 5fe27a36..f91286c3 100644 --- a/skimage/util/shape.py +++ b/skimage/util/shape.py @@ -233,9 +233,7 @@ def view_as_windows(arr_in, window_shape, step=1): tuple(window_shape) arr_strides = np.array(arr_in.strides) - new_strides = np.concatenate( - (arr_strides * step, arr_strides) - ) + new_strides = np.concatenate((arr_strides * step, arr_strides)) arr_out = as_strided(arr_in, shape=new_shape, strides=new_strides)