Notebook
np.max(np.ma.masked_where(tmask[0,:,:]==0,fP.variables['ATF_NO3'][0,0,:,:]/fP.variables['AFILTNO3'][0,0,:,:])),np.min(np.ma.masked_where(tmask[0,:,:]==0,fP.variables['ATF_NO3'][0,0,:,:]/fP.variables['AFILTNO3'][0,0,:,:]))
fig,ax=plt.subplots(1,3,figsize=(8,3)) m0=ax[0].pcolormesh(fP.variables['BIOTRNO3'][0,0,:,:]) plt.colorbar(m0,ax=ax[0]) m1=ax[1].pcolormesh(fP.variables['SMS_NO3'][0,0,:,:]) plt.colorbar(m1,ax=ax[1]) m2=ax[2].pcolormesh(fP.variables['BIOTRNO3'][0,0,:,:]-fP.variables['SMS_NO3'][0,0,:,:],cmap=cmocean.cm.balance) plt.colorbar(m2,ax=ax[2])