plotbox.movie module

plotbox.movie.to_html(anim, fps=15)

Given a matplotlib FuncAnimation object, returns a movie clip of the animation embedded in HTML. To be used when running iPython Notebook with pylab inline.

Parameters:anim (matplotlib FuncAnimation object) – animation object storing all frames of the movie
Returns:html – returns animation as a movie clip embedded in HTML
Return type:HTML object