Hi , sorry I am using this code how I can adjust the space between rows and columns? and write title for each row?
            f, axarr = plt.subplots(7, 1)
            for jj in range(len(Listnum)):
                dd[0,jj1,0,0]=Listnum[jj]
                fake = netG(dd).squeeze(0).squeeze(0)
                plt.axis("off")????
                axarr[jj].imshow(fake.detach().numpy(),cmap='gist_gray',vmin=0,vmax=1)
            plt.savefig(os.path.join('/home/mom008/mmm/'+'/noise'+str(jj1)+'std='+str(jj))+'MAPcmbencode.jpg')