0

l have 21 images stored in my folder path="home/images" that l want to visualize in one figure.

how can l do that such that for each plot has a title ?

Thank you

0

1 Answer 1

0

I'd start by using glob:

from PIL import Image
import glob
image_list = []
for filename in glob.glob('home/images*.gif'): #assuming gif
    im=Image.open(filename)
    image_list.append(im)

Then plot them following some example like this See more examples here

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.