Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e52c26f

Browse filesBrowse files
committed
PEP8
1 parent cfad8d9 commit e52c26f
Copy full SHA for e52c26f

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed

‎lib/matplotlib/image.py

Copy file name to clipboardExpand all lines: lib/matplotlib/image.py
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,8 @@ def _make_image(self, A, in_bbox, out_bbox, clip_bbox, magnification=1.0,
348348
if alpha is not None and alpha != 1.0:
349349
alpha_channel = output[:, :, 3]
350350
alpha_channel[:] = np.asarray(
351-
np.asarray(alpha_channel, np.float32) * alpha, np.uint8)
351+
np.asarray(alpha_channel, np.float32) * alpha,
352+
np.uint8)
352353
else:
353354
if self._imcache is None:
354355
self._imcache = self.to_rgba(A, bytes=True, norm=(A.ndim == 2))

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.