8000 flake8 improve · scikit-learn/scikit-learn@2d985f2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2d985f2

Browse files
committed
flake8 improve
1 parent 88b4eac commit 2d985f2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/applications/plot_tomography_l1_reconstruction.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@ def generate_synthetic_data():
101101
rs = np.random.RandomState(0)
102102
n_pts = 36
103103
x, y = np.ogrid[0:l, 0:l]
104-
mask_outer = (x - (l*1.0) / 2) ** 2 + (y - (l*1.0) / 2) ** 2 < ((l*1.0) / 2) ** 2
104+
mask_outer = (x - (l * 1.0) / 2) ** 2 + (y - (l * 1.0) / 2) ** 2 \
105+
< ((l * 1.0) / 2) ** 2
105106
mask = np.zeros((l, l))
106107
points = l * rs.rand(2, n_pts)
107108
mask[(points[0]).astype(np.int), (points[1]).astype(np.int)] = 1

0 commit comments

Comments
 (0)
0