From 56611198e486bde21e4eff954b8c16f00713d8fc Mon Sep 17 00:00:00 2001 From: Tony S Yu Date: Mon, 12 Dec 2011 20:25:55 -0500 Subject: [PATCH] PEP8: add spacing around operators --- skimage/detection/tests/test_template.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/skimage/detection/tests/test_template.py b/skimage/detection/tests/test_template.py index b5cc9bcd..713b6e96 100644 --- a/skimage/detection/tests/test_template.py +++ b/skimage/detection/tests/test_template.py @@ -9,8 +9,8 @@ def test_template(): target = target.astype(np.float32) target_positions = [(50, 50), (200, 200)] for x, y in target_positions: - image[x:x+size, y:y+size] = target - image += randn(400, 400)*2 + image[x:x + size, y:y + size] = target + image += randn(400, 400) * 2 for method in ["norm-corr", "norm-coeff"]: result = match_template(image, target, method=method)