Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b8f8976

Browse files
committed
Removed typo
1 parent 2bf2297 commit b8f8976

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/matplotlib/backends/backend_agg.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,6 @@ def print_png(self, filename_or_obj, *args, **kwargs):
542542
if kwargs.get('flatten', False):
543543
img = img.buffer_rgba()
544544
w, h = int(renderer.width), int(renderer.height)
545-
img = renderer._renderer.buffer_rgba()
546545
img = np.array(memoryview(img)).reshape((h, w, 4))
547546
img = mimage.flatten_rgba(img)
548547
try:

0 commit comments

Comments
 (0)