From 2e2928c22a77180a2e0b5dcb9c937ec312abdc2c Mon Sep 17 00:00:00 2001 From: Nick Featherstone Date: Thu, 21 Mar 2024 13:23:09 -0600 Subject: [PATCH] Added return statement to the plot_azav routine. --- post_processing/rayleigh_diagnostics.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/post_processing/rayleigh_diagnostics.py b/post_processing/rayleigh_diagnostics.py index 5baa5908..120734ab 100644 --- a/post_processing/rayleigh_diagnostics.py +++ b/post_processing/rayleigh_diagnostics.py @@ -2489,6 +2489,8 @@ def plot_azav(fig,ax,field,radius,costheta,sintheta,r_bcz=0.71,mini=-1,maxi=-1,m levs=mini+np.linspace(1,nlevs,nlevs)/float(nlevs)*(maxi-mini) ax.contour(yr,xr,field,colors='w',levels=levs) + return img + def streamfunction(vr,vt,r,cost,order=0): """------------------------------------------------------------ This routine takes as input a divergenceless axisymmetric