From 6f81d505b4c81ab8659f62f5106acb6a1a0ebaf2 Mon Sep 17 00:00:00 2001 From: Tristan Fillinger Date: Wed, 25 Oct 2023 23:24:53 +0900 Subject: [PATCH] small doc fix --- docs/advanced/hep_examples.rst | 4 +- docs/img/hep_comparisons_ratio_options.svg | 54 +++++++++------------- 2 files changed, 25 insertions(+), 33 deletions(-) diff --git a/docs/advanced/hep_examples.rst b/docs/advanced/hep_examples.rst index 1adce900..074b68aa 100644 --- a/docs/advanced/hep_examples.rst +++ b/docs/advanced/hep_examples.rst @@ -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 @@ -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, ) diff --git a/docs/img/hep_comparisons_ratio_options.svg b/docs/img/hep_comparisons_ratio_options.svg index e50a7989..7ed5c5ba 100644 --- a/docs/img/hep_comparisons_ratio_options.svg +++ b/docs/img/hep_comparisons_ratio_options.svg @@ -6,7 +6,7 @@ - 2023-10-25T18:59:09.865726 + 2023-10-25T23:24:12.765086 image/svg+xml @@ -3562,7 +3562,7 @@ z - + - - - - - - + + + + @@ -4203,7 +4201,7 @@ z - + @@ -4260,12 +4258,10 @@ z - - - - - - + + + + @@ -5189,7 +5185,7 @@ z - + - - - - - - - + + + + + @@ -5867,7 +5861,7 @@ z - + @@ -5924,13 +5918,11 @@ z - - - - - - - + + + + +