I found an interesting animation of a particle system that I would like to implement on jupyter notebook. So I copied the code in the file collision.py and pasted it on my jupyter notebook. After executing the code I am getting only a static picture
I tried to include the magic command %matplotlib inline but it still does not work. Does someone know why?