I\'ve been trying to display a gif in Jupyter notebook and have had some trouble. I keep getting a blank image file.
I\'ve tried using html from this GitHub repository.
Any image format either png, jpg, jpeg or gif etc, you want to show in python jupyter notebook then simply use matplotlib library.
import matplotlib.pyplot as plt import matplotlib.image as mpimg img = mpimg.imread("/home/gaurav/assignment/sofcomputing/river.gif") plt.imshow(img)