Skip to content

Commit

Permalink
docs: Fix math mode syntax in contrib.viz.brazil.plot_results docstri…
Browse files Browse the repository at this point in the history
…ng (#1243)

* Use correct Sphinx math mode syntax for contrib.viz.brazil.plot_results docstring
  • Loading branch information
matthewfeickert authored Jan 5, 2021
1 parent 93104ad commit 95ad151
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 @@ -30,9 +30,9 @@ def plot_results(ax, mutests, tests, test_size=0.05):
ax (`matplotlib.axes.Axes`): The matplotlib axis object to plot on.
mutests (:obj:`list` or :obj:`array`): The values of the POI where the
hypothesis tests were performed.
tests (:obj:`list` or :obj:`array`): The :math:$\\mathrm{CL}_{s}$ values
tests (:obj:`list` or :obj:`array`): The :math:`\\mathrm{CL}_{s}` values
from the hypothesis tests.
test_size (:obj:`float`): The size, :math:$\alpha$, of the test.
test_size (:obj:`float`): The size, :math:`\\alpha`, of the test.
"""
cls_obs = np.array([test[0] for test in tests]).flatten()
cls_exp = [np.array([test[1][i] for test in tests]).flatten() for i in range(5)]
Expand Down

0 comments on commit 95ad151

Please sign in to comment.