Display Images
Both matplotlib and plotly can also display images, annotate them, show their histogram, and many more things. We will go through this when we introduce CNN (Convolutional Neural Network).
PYTHON
1img = plt.imread('http://matplotlib.sourceforge.net/_static/logo2.png')
2
3# Plotly
4fig = px.imshow(img*255)
5fig.show()
6
7# matplotlib
8plt.imshow(img)
