Closed terryxie007 closed 1 year ago
ryy,rxx = np.meshgrid(np.arange(ry0,ry0+yL),np.arange(rx0,rx0+xL)) fig,axs = plt.subplots(xL,yL,figsize=(yL*axsize[0],xL*axsize[1])) for rxi in range(xL): for ryi in range(yL): ax = axs[rxi,ryi] rx,ry = rxx[rxi,ryi],ryy[rxi,ryi] dp = datacube.data[rx,ry,:,:] _,_ = show(dp,ax=(fig,ax),returnfig=True,**kwargs) plt.tight_layout() if not returnfig: plt.show() return else: return fig,ax
Maybe here it should be return fig, axs?
return fig, axs
Hey @terryxie007 - you're right! Should have been axs. That's fixed on the dev branch now, the fix will be released with v14.0
axs
Maybe here it should be
return fig, axs
?