The animation process in Matplotlib can be thought of in 2 different ways: FuncAnimation: Generate data for first frame and then modify this data for each frame to create an animated plot.
When rendering a JSHTML animation using the matplotlib package an extra blank figure window is shown. This also happens in Jupyter in notebook mode and the solution is to close the extra figure window ...