Skip to content

Commit

Permalink
small doc fix
Browse files Browse the repository at this point in the history
  • Loading branch information
0ctagon committed Oct 25, 2023
1 parent 802d786 commit 6f81d50
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 33 deletions.
4 changes: 2 additions & 2 deletions docs/advanced/hep_examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ Same example plot but we remove the MC statistical uncertainties by adding ``mc_



For ``ratio`` or ``relative_difference``, the uncertainties can be split between MC and data (default option) or both can be added to the ratio uncertainty (``ratio_uncertainty="uncorrelated"``). Here are all the options possible:
For ``ratio`` or ``relative_difference``, the uncertainties can be split between MC and data (default option) or both can be added to the ratio uncertainty (``ratio_uncertainty="uncorrelated"``). Here are all the possible options:

.. code-block:: python
Expand Down Expand Up @@ -278,7 +278,7 @@ For ``ratio`` or ``relative_difference``, the uncertainties can be split between
)
axes[k_comp].set_xlabel("")
add_text(
f' $\mathbf{{}}$ comparison = "ratio", \n $\mathbf{{}}$ ratio_uncertainty="{ratio_uncertainty}", mc_uncertainty = "{mc_uncertainty}"',
f' $\mathbf{{}}$ comparison = "ratio", \n $\mathbf{{}}$ ratio_uncertainty="{ratio_uncertainty}", mc_uncertainty = {mc_uncertainty}',
ax=ax_comparison,
fontsize=10,
)
Expand Down
54 changes: 23 additions & 31 deletions docs/img/hep_comparisons_ratio_options.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6f81d50

Please sign in to comment.