Skip to content

Commit 04e4255

Browse files
committed
MNT: if we are caching frames then we have a save_count
1 parent ead0e8b commit 04e4255

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/matplotlib/animation.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1723,10 +1723,6 @@ def _draw_frame(self, framedata):
17231723
if self._cache_frame_data:
17241724
# Save the data for potential saving of movies.
17251725
self._save_seq.append(framedata)
1726-
1727-
# Make sure to respect save_count (keep only the last save_count
1728-
# around)
1729-
if self._save_count is not None:
17301726
self._save_seq = self._save_seq[-self._save_count:]
17311727

17321728
# Call the func with framedata and args. If blitting is desired,

0 commit comments

Comments
 (0)