Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
zhichen3 committed Dec 23, 2024
1 parent 365ea01 commit ae40875
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Exec/science/xrb_spherical/analysis/slice.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__":
Expand Down

0 comments on commit ae40875

Please sign in to comment.