Skip to content

Commit

Permalink
Update celmon cal output to include pdfs
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanconn committed Oct 6, 2023
1 parent d2d0b16 commit 9378f54
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions astromon/web/celmon.py
Original file line number Diff line number Diff line change
Expand Up @@ -614,12 +614,13 @@ def create_figures_cal(
dy_median=dy_median if draw_median else None,
dz_median=dz_median if draw_median else None,
)
plot_cdf(
bins,
cdf,
quantiles,
title=f"{det} ({len(m)} points)",
filename=outdir / f"offsets-{det}-cdf{tag}.png",
for ptype in ["png", "pdf"]:
plot_cdf(
bins,
cdf,
quantiles,
title=f"{det} ({len(m)} points)",
filename=outdir / f"offsets-{det}-cdf{tag}.{ptype}",
)
return result

Expand Down

0 comments on commit 9378f54

Please sign in to comment.