'blitting with mapltolib does not work from jupyter notebook

Trying to use blitting inside a jupyter notebook does not update the figure, only the first image is shown instead of the animation updating the figure.

Blitting as defined in the matplotlib documentation https://matplotlib.org/3.5.0/tutorials/advanced/blitting.html

The notebook can be downloaded from here

Do you know if there is a possibility to make that work ?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source