Animation in iPython notebook Animation in iPython notebook python-3.x python-3.x

Animation in iPython notebook


Some options you have for animating plots in Jupyter/IPython, using matplotlib:

  • Using display in a loop Use IPython.display.display(fig) to display a figure in the output. Using a loop you would want to clear the output before a new figure is shown. Note that this technique gives in general not so smooth resluts. I would hence advice to use any of the below.