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

Skip to content

Tweak coverage #8036

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Feb 20, 2017
Prev Previous commit
Next Next commit
BUG: Fix animation test
Lack of saving the animation caused it to never run the callbacks.
  • Loading branch information
dopplershift committed Feb 7, 2017
commit ca858b798de44fadc2325d26943a82ffef59698c
2 changes: 2 additions & 0 deletions lib/matplotlib/tests/test_animation.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,8 @@ def animate(i):

anim = animation.FuncAnimation(fig, animate, init_func=init,
frames=iter(range(5)))
writer = NullMovieWriter()
anim.save('unused.null', writer=writer)


def test_movie_writer_registry():
Expand Down