Displaying animated gifs and images in Jupyter Notebook

In [7]:
from IPython.display import Image
from IPython.display import display
display(Image(url='./static/pandas.jpg'))
In [8]:
from IPython.display import Image
from IPython.display import display
display(Image(url='./static/anna.gif'))
In [9]:
from IPython.display import Image
from IPython.display import display
display(Image(url='https://p3nny.github.io/Code4Girls_4U/static/1.jpg'))
In [ ]:
 
In [ ]: