Skip to content

Got TypeError: 'MovieWriterRegistry' object is not an iterator #17097

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

Closed
Eshan-Agarwal opened this issue Apr 11, 2020 · 1 comment
Closed

Got TypeError: 'MovieWriterRegistry' object is not an iterator #17097

Eshan-Agarwal opened this issue Apr 11, 2020 · 1 comment

Comments

@Eshan-Agarwal
Copy link

Eshan-Agarwal commented Apr 11, 2020

I am generating gif using ArtistAnimation please see below code, video is numpy.ndarray of shape (frame,height,width,channel) ie, (20,64,64,1) and got error

animation = anim.ArtistAnimation(fig,list(video))
animation.save('sample.gif', writer='imagemagick', fps=fps)

I am using colab and install ffmpeg using !apt install ffmpeg still got same error.

@anntzer
Copy link
Contributor

anntzer commented Apr 11, 2020

Thanks for the report. It's a known bug in the latest version of matplotlib; it will be fixed in the next point release (#16965).

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

2 participants