Skip to content

Commit 3d4f958

Browse files
committed
remove unnecessary function argument in FuncAnimation unit test
- remove "save_count=5" from animation.FuncAnimation() - this is expected to make the test coverage happy by finishing a for loop in "frame_generator"
1 parent a4714fa commit 3d4f958

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/tests/test_animation.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ def frames_generator():
299299
yield frame
300300

301301
anim = animation.FuncAnimation(fig, animate, init_func=init,
302-
frames=frames_generator, save_count=5,
302+
frames=frames_generator,
303303
cache_frame_data=cache_frame_data)
304304

305305
writer = NullMovieWriter()

0 commit comments

Comments
 (0)