Skip to content
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

FuncAnimation video saving results in one frame file #5471

Closed
nils-werner opened this issue Nov 12, 2015 · 4 comments
Closed

FuncAnimation video saving results in one frame file #5471

nils-werner opened this issue Nov 12, 2015 · 4 comments

Comments

@nils-werner
Copy link
Contributor

When trying to use the basic_example_writer.py example I have noticed that the first file generated, lines.mp4, is empty. It shows one frame of plot backdrop but none of the lines appear.

This also happened with any other animation I myself was trying to write. Thus it seems that FuncAnimation ins incapable of creating animation videos.

Tried on platforms: Mac OSX and Ubuntu 14.04

@jenshnielsen
Copy link
Member

I think this is a duplicate of #5399 fixed by #5402

@jenshnielsen
Copy link
Member

The workaround is to add an init function to the function animator. That should work even if it is a noop

@nils-werner
Copy link
Contributor Author

That is indeed correct, sorry for not spotting the other issue earlier. :-)

@jenshnielsen
Copy link
Member

No problem :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants