Communities for your favorite technologies. Explore all Collectives
Stack Overflow for Teams is now called Stack Internal. Bring the best of human thought and AI automation together at your work.
Bring the best of human thought and AI automation together at your work. Learn more
Find centralized, trusted content and collaborate around the technologies you use most.
Stack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
l have 21 images stored in my folder path="home/images" that l want to visualize in one figure.
path="home/images"
how can l do that such that for each plot has a title ?
Thank you
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
Add a comment
Start asking to get answers
Find the answer to your question by asking.
Explore related questions
See similar questions with these tags.