1
Fork 0

Switch png to pdf

This commit is contained in:
Edgar P. Burkhart 2022-03-30 13:21:41 +02:00
parent e5d162a91a
commit 11147ce483
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227

View file

@ -166,8 +166,8 @@ out = pathlib.Path(config.get("post", "out")).joinpath(f"t{t0}x{x0}")
log.info(f"Saving plots in '{out}'")
out.mkdir(parents=True, exist_ok=True)
fig.savefig(out.joinpath("t.png"))
fig_r.savefig(out.joinpath("R.png"))
fig_x.savefig(out.joinpath("x.png"))
fig.savefig(out.joinpath("t.pdf"))
fig_r.savefig(out.joinpath("R.pdf"))
fig_x.savefig(out.joinpath("x.pdf"))
log.info("Finished post-processing")