Skip to content

Commit

Permalink
don't set the y-range of the flat gain stability plots
Browse files Browse the repository at this point in the history
  • Loading branch information
jchiang87 committed Apr 7, 2020
1 parent 0fa99d0 commit 20a1bf9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
run_python_task_or_cl_script(flat_gain_stability_jh_task,
flat_gain_stability_script)

plot_all_rafts(siteUtils.getRunNumber())
plot_all_rafts(siteUtils.getRunNumber(), y_range=None)
2 changes: 1 addition & 1 deletion python/flat_gain_stability.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def plot_raft(raft_files, cut=None, divide_by_flux=True, y_range=None,
plt.ylim(*y_range)


def plot_all_rafts(run, results_dir='.', cut=None, y_range = (0.998, 1.002),
def plot_all_rafts(run, results_dir='.', cut=None, y_range=(0.998, 1.002),
divide_by_flux=True, figsize=(18, 18)):
"""
Plot the flat gain stability curve for all 25 rafts in a 5x5 grid.
Expand Down

0 comments on commit 20a1bf9

Please sign in to comment.