I'm making a figure with a total of 68 subplots and want to remove the empty space between them all. Here's what I have:
.
How would I go about doing this?
EDIT: using plt.tight_layout() makes it even worse:
Here's my code:
for j in range(0,len(sort_yf)):
for i in range(0,len(yf)):
if yf[i]==sort_yf[j]:
sort_ID=np.append(sort_ID,'output/'+ID[i]+'.png')
for i in range (1,69):
plt.subplot(17,4,i,aspect='equal')
plots=img.imread(sort_ID[i])
plt.imshow(plots)
plt.axis('off')
plt.show()