PEP8: add spacing around operators

This commit is contained in:
Tony S Yu
2012-05-08 21:28:50 -04:00
parent 4ab4213749
commit 56611198e4
+2 -2
View File
@@ -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)