I tried to use IPython.display with the following code:
from IPython.display import display, Image display(Image(filename=\'MyImage.png\'))
It's simple Use following pseudo code
from pylab import imread,subplot,imshow,show import matplotlib.pyplot as plt image = imread('...') // choose image location plt.imshow(image)
plt.show() // this will show you the image on console.
plt.show()