subplots in plt code example
Example 1: plt subplots figsize
fig, ax = plt.subplots(10,4, figsize=(16,40))
Example 2: get subplots in matplotlib
fig,ax = plt.subplots(3,2,figsize=(25,10),)
i,j = 0,0
for each in list_of_images:
img = cv.imread(each.name)
ax[i,j].imshow(img)
if j == 1:
j = 0
if i != 2:
i += 1
else:
j += 1