Skip to content

Commit

Permalink
Fix: This fixes the variable assignment for limit band artists
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasheinrich authored and matthewfeickert committed Jan 4, 2024
1 parent 970cd11 commit 88bc5d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pyhf/contrib/viz/brazil.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,14 +129,14 @@ def plot_brazil_band(test_pois, cls_obs, cls_exp, test_size, ax, **kwargs):
label=None if idx != 2 else r"$\mathrm{CL}_{s,\mathrm{exp}}$",
)
cls_exp_lines.append(_cls_exp_line)
one_sigma_band = ax.fill_between(
two_sigma_band = ax.fill_between(
test_pois,
cls_exp[0],
cls_exp[-1],
facecolor="yellow",
label=r"$\pm2\sigma$ $\mathrm{CL}_{s,\mathrm{exp}}$",
)
two_sigma_band = ax.fill_between(
one_sigma_band = ax.fill_between(
test_pois,
cls_exp[1],
cls_exp[-2],
Expand Down

0 comments on commit 88bc5d5

Please sign in to comment.