Skip to content

Commit

Permalink
tweak legend for Fe55 plots and title for flat gain stability plot
Browse files Browse the repository at this point in the history
  • Loading branch information
jchiang87 committed Mar 12, 2021
1 parent a19b970 commit 34ec77b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/fe55_gain_stability.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def plot_raft_fe55_gains_by_ccd(raft_files, colors=None, y_range=None):
plt.scatter(x, y, s=1, color=color, label=sensor)
plt.xlabel(f'(MJD - {mjd0})*24 (hours)')
plt.ylabel('gain/mean(gain)')
plt.legend(fontsize='x-small')
plt.legend(fontsize='x-small', ncol=2)
plt.title(raft, fontsize='small')
if y_range is not None:
plt.ylim(*y_range)
Expand Down
2 changes: 1 addition & 1 deletion python/flat_gain_stability.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def plot_raft_by_amp(raft_files, cut=None, divide_by_flux=True,
tokens = os.path.basename(raft_files[0]).split('_')
run = tokens[2]
raft = tokens[0]
suptitle = append_acq_run(f'flat gain stability, {raft}, Run {run}')
suptitle = append_acq_run(f'Flat gain stability, {raft}, Run {run}')
plt.suptitle(suptitle)
if outfile is None:
outfile = f'{raft}_{run}_flat_gain_stability.png'
Expand Down

0 comments on commit 34ec77b

Please sign in to comment.