# Example with 3 figures (more can be added)
fig, (fig1, fig2, fig3) = plt.subplots(1, 3) # subplots(row, columns)
fig1.plot(x,y)
fig2.plot(x,y)
fig3.plot(x,y)
plt.show()
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
#"plt" is the standard alias.
import matplotlib.pyplot as plt