BrazilBandCollection#
- class pyhf.contrib.viz.brazil.BrazilBandCollection(cls_obs: Line2D | None, cls_exp: list[Line2D] | None, one_sigma_band: PolyCollection | None, two_sigma_band: PolyCollection | None, test_size: Line2D | None, clsb: Line2D | None, clb: Line2D | None, axes: Axes | None)[source]#
Bases:
objectcollections.namedtuplecontaining thematplotlib.artist.Artistobjects of the “Brazil Band” and the observed \(\mathrm{CL}_{s+b}\) and \(\mathrm{CL}_{b}\) — the components of the \(\mathrm{CL}_{s}\) ratio. Returned byplot_results().- Parameters:
cls_obs – The
matplotlib.lines.Line2Dof the \(\mathrm{CL}_{s,\mathrm{obs}}\) line.cls_exp – The
listofmatplotlib.lines.Line2Dof the \(\mathrm{CL}_{s,\mathrm{exp}}\) lines.one_sigma_band – The
matplotlib.collections.PolyCollectionof the \(\mathrm{CL}_{s,\mathrm{exp}}\) \(\pm1\sigma\) band.two_sigma_band – The
matplotlib.collections.PolyCollectionof the \(\mathrm{CL}_{s,\mathrm{exp}}\) \(\pm2\sigma\) band.test_size – The
matplotlib.lines.Line2Dof the test size line.clsb – The
matplotlib.lines.Line2Dof the observed \(\mathrm{CL}_{s+b}\) line.clb – The
matplotlib.lines.Line2Dof the observed \(\mathrm{CL}_{b}\) line.axes – The
matplotlib.axes.Axesthe artists are plotted on.
- __init__(cls_obs: Line2D | None, cls_exp: list[Line2D] | None, one_sigma_band: PolyCollection | None, two_sigma_band: PolyCollection | None, test_size: Line2D | None, clsb: Line2D | None, clb: Line2D | None, axes: Axes | None) None#
Attributes
Methods