Skip to content

Commit ccd12f7

Browse files
committed
Style fixes
1 parent 4d2f0c9 commit ccd12f7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nipy/labs/tests/test_viz.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
import numpy as np
55

6-
from nipy.labs.viz import plot_map, mni_sform, coord_transform
6+
from nipy.labs.viz import coord_transform, mni_sform, plot_map
77

88

99
def test_example():
@@ -13,8 +13,8 @@ def test_example():
1313
mni_sform_inv = np.linalg.inv(mni_sform)
1414
# Color an asymmetric rectangle around Broca area:
1515
x, y, z = -52, 10, 22
16-
x_map, y_map, z_map = [int(coord) for coord in coord_transform(x, y, z,
17-
mni_sform_inv)]
16+
x_map, y_map, z_map = (int(coord) for coord in coord_transform(x, y, z,
17+
mni_sform_inv))
1818
map = np.zeros((182, 218, 182))
1919
map[x_map-30:x_map+30, y_map-3:y_map+3, z_map-10:z_map+10] = 1
2020

0 commit comments

Comments
 (0)