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 committed Dec 28, 2023
1 parent 0b1a379 commit f94d584
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(

Check warning on line 132 in src/pyhf/contrib/viz/brazil.py

View check run for this annotation

Codecov / codecov/patch

src/pyhf/contrib/viz/brazil.py#L132

Added line #L132 was not covered by tests
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(

Check warning on line 139 in src/pyhf/contrib/viz/brazil.py

View check run for this annotation

Codecov / codecov/patch

src/pyhf/contrib/viz/brazil.py#L139

Added line #L139 was not covered by tests
test_pois,
cls_exp[1],
cls_exp[-2],
Expand Down

0 comments on commit f94d584

Please sign in to comment.