Skip to content

Commit

Permalink
Defined ax for plotting
Browse files Browse the repository at this point in the history
  • Loading branch information
fbradascio committed May 7, 2020
1 parent 60d0cd8 commit 4368eb0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions flarestack/core/ts_distributions.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,8 @@ def plot_background_ts_distribution(ts_array, path, ts_type="Standard",

fig = plt.figure()

ax = plt.subplot(1, 1, 1)

df, loc, scale, frac_over, t_err = fit_background_ts(ts_array, ts_type)

frac_under = 1 - frac_over
Expand Down

0 comments on commit 4368eb0

Please sign in to comment.