Skip to content

Commit 3d193ae

Browse files
committed
Add bitrate to animation smoke tests.
This should help catch more problems in commandline argument handling, like matplotlib#4003.
1 parent f6e63da commit 3d193ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/tests/test_animation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def animate(i):
5454
F.close()
5555
anim = animation.FuncAnimation(fig, animate, init_func=init, frames=5)
5656
try:
57-
anim.save(F.name, fps=30, writer=writer)
57+
anim.save(F.name, fps=30, writer=writer, bitrate=500)
5858
except UnicodeDecodeError:
5959
raise KnownFailureTest("There can be errors in the numpy " +
6060
"import stack, " +

0 commit comments

Comments
 (0)