Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #show #jpg #jupyter #notebook
ADD COMMENT
Topic
Name
4+7 =