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

make_gif.py #84

Open
ZJ9527 opened this issue Apr 21, 2020 · 4 comments
Open

make_gif.py #84

ZJ9527 opened this issue Apr 21, 2020 · 4 comments

Comments

@ZJ9527
Copy link

ZJ9527 commented Apr 21, 2020

the following is my error
Traceback (most recent call last):
File "make_gif.py", line 52, in
anim.save("output.gif", writer="imagemagick")
File "/usr/local/lib/python3.6/dist-packages/matplotlib/animation.py", line 1102, in save
alt_writer = next(writers, None)
TypeError: 'MovieWriterRegistry' object is not an iterator
how can i solve it?

@ZJ9527 ZJ9527 changed the title make_target.py make_gif.py Apr 22, 2020
@andrewhani14
Copy link

Same problem , did you solve it ?

@ZJ9527
Copy link
Author

ZJ9527 commented May 3, 2020

yes
it is a version problem
you just change the code on last line
anim.save("output.gif", writer="imagemagick")
to
anim.save("output.gif", writer="pillow")

@ZJ9527
Copy link
Author

ZJ9527 commented May 3, 2020

what is more
the output.gif will be saved in the root directory

@andrewhani14
Copy link

Thank youu , worked for me

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

No branches or pull requests

2 participants