Skip to content

Commit e59706f

Browse files
committed
FIX: Correct variable name from _frame to _frames in PillowWriter class
1 parent f39bf4d commit e59706f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/animation.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ def grab_frame(self, **savefig_kwargs):
496496
"RGBA", self.frame_size, buf.getbuffer(), "raw", "RGBA", 0, 1)
497497
if im.getextrema()[3][0] < 255:
498498
# This frame has transparency, so we'll just add it as is.
499-
self._frame.append(im)
499+
self._frames.append(im)
500500
else:
501501
# Without transparency, we switch to RGB mode, which converts to P mode a
502502
# little better if needed (specifically, this helps with GIF output.)

0 commit comments

Comments
 (0)