From ae408754e4b0f8409cd1990748f1bc6c369d63ea Mon Sep 17 00:00:00 2001 From: zhi Date: Mon, 23 Dec 2024 14:13:44 -0500 Subject: [PATCH] update --- Exec/science/xrb_spherical/analysis/slice.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Exec/science/xrb_spherical/analysis/slice.py b/Exec/science/xrb_spherical/analysis/slice.py index d1fedbfcee..14ac7c7a60 100755 --- a/Exec/science/xrb_spherical/analysis/slice.py +++ b/Exec/science/xrb_spherical/analysis/slice.py @@ -133,11 +133,11 @@ def slice(fnames:List[str], fields:List[str], # horizontalalignment='right', verticalalignment='center', # color="black", transform=fig.transFigure) - outName = f"xrb_spherical_{float(refTimeStamp):.2f}_{timeUnit}_slice.pdf" + outName = f"{ts[0]}_slice.pdf" fig.set_size_inches(16, 9) fig.tight_layout() - fig.savefig(outName, format="pdf", bbox_inches="tight") + fig.savefig(outName, format="png", bbox_inches="tight") if __name__ == "__main__":