1fig,ax = plt.subplots(3,2,figsize=(25,10),)
2
3i,j = 0,0
4for each in list_of_images:
5 img = cv.imread(each.name)
6 ax[i,j].imshow(img)
7
8
9 if j == 1:
10 j = 0
11 if i != 2:
12 i += 1
13 else:
14 j += 1
15
16