8000 pep8: long lines · matplotlib/matplotlib@1ec7071 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1ec7071

Browse files
efiringtacaswell
authored andcommitted
pep8: long lines
1 parent 3448dd0 commit 1ec7071

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/matplotlib/image.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,11 +367,12 @@ def _make_image(self, A, in_bbox, out_bbox, clip_bbox, magnification=1.0,
367367
rgba = np.empty((A.shape[0], A.shape[1], 4), dtype=A.dtype)
368368
rgba[..., 0] = A # normalized data
369369
rgba[..., 1] = A < 0 # under data
370-
# TODO, ask the norm or colormap what this threshold should be
370+
# TODO: get threshold from the norm or colormap
371371
rgba[..., 2] = A > 1 # over data
372372
rgba[..., 3] = ~A.mask
373373
A = rgba
374-
output = np.zeros((out_height, out_width, 4), dtype=A.dtype)
374+
output = np.zeros((out_height, out_width, 4),
375+
dtype=A.dtype)
375376
alpha = 1.0
376377
created_rgba_mask = True
377378
else:

0 commit comments

Comments
 (0)
0