From 88bc5d5f4e8316234bfda1af781054e736a09cc6 Mon Sep 17 00:00:00 2001 From: Lukas Date: Thu, 28 Dec 2023 10:47:50 +0000 Subject: [PATCH] Fix: This fixes the variable assignment for limit band artists --- src/pyhf/contrib/viz/brazil.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pyhf/contrib/viz/brazil.py b/src/pyhf/contrib/viz/brazil.py index a8955f20eb..ad39a7648d 100644 --- a/src/pyhf/contrib/viz/brazil.py +++ b/src/pyhf/contrib/viz/brazil.py @@ -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],