display image in jupyter notebook code example
Example 1: show image jupyter notebook
#If you want it on a "Code" cell
from IPython.display import Image
Image("img/picture.png")
#If you want it on a "Markdown" cell
![title](img/picture.png)
Example 2: show jpg in jupyter notebook
from IPython.display import Image, display
listOfImageNames = ['/path/to/images/1.png',
'/path/to/images/2.png']
for imageName in listOfImageNames:
display(Image(filename=imageName))