diff --git a/Exec/science/xrb_spherical/analysis/slice.py b/Exec/science/xrb_spherical/analysis/slice.py index 7e55d3848f..b0ec8e40f0 100755 --- a/Exec/science/xrb_spherical/analysis/slice.py +++ b/Exec/science/xrb_spherical/analysis/slice.py @@ -66,12 +66,12 @@ def slice(fname:str, field:str, if field in ["x_velocity", "y_velocity", "z_velocity"]: sp.set_cmap(field, "coolwarm") elif field == "Temp": - sp.set_zlim(f, 5.e7, 2.5e9) - sp.set_cmap(f, "magma_r") + sp.set_zlim(field. 5.e7, 2.5e9) + sp.set_cmap(field, "magma_r") elif field == "enuc": - sp.set_zlim(f, 1.e18, 1.e20) + sp.set_zlim(field, 1.e18, 1.e20) elif field == "density": - sp.set_zlim(f, 1.e-3, 5.e8) + sp.set_zlim(field, 1.e-3, 5.e8) # sp.annotate_text((0.05, 0.05), f"{currentTime.in_cgs():8.5f} s") sp.save(f"{ds}_{loc}")