-
-
Notifications
You must be signed in to change notification settings - Fork 8k
Closed
Milestone
Description
As It reads here on the official docs as an example on how to save an animation as a video file
moviewriter = MovieWriter(...)
moviewriter.setup(fig=fig, 'my_movie.ext', dpi=100)
for j in range(n):
update_figure(n)
moviewriter.grab_frame()
moviewriter.finish()
this code snippet contains two bugs, first there is moviewriter.setup(fig=fig, 'my_movie.ext', dpi=100)
which should not contain fig=
as it will throw a non-keyword argument after a keyword argument error, and then it should be update_figure(j)
instead of n
which also won't run of course ...
just stumbled over this and thought I'd post it briefly. No idea if this is the correct way or place to report this.