Repository: CORE-GATECH-GROUP/serpent-tools (language: python)

Issue:
BUG SensitivityReader.plot uses absolute value for yerr
Avoids error in `matplotlib>=3.6` where yerr must have positive values.

Closes #469 

For bug fixes and enhancements, link to the corresponding issue.

Make sure you have read over the developer guide to ease
the review process. These include:

- [x] PR fits the [project scope](http://serpent-tools.readthedocs.io/en/latest/develop/contributing.html#project-scope)
- [x] Code to be committed is [DRY](https://en.wikipedia.org/wiki/Don%27t_repeat_yourself) and matches the [code style](http://serpent-tools.readthedocs.io/en/latest/develop/codestyle.html#code-style) of the project
- [x] New and/or changed features are [well documented](http://serpent-tools.readthedocs.io/en/latest/develop/documentation.html#documentation) and have adequate testing
- [x] For first-time contributors, you have included your attribution in [`docs/contributors.rst`](https://github.com/CORE-GATECH-GROUP/serpent-tools/blob/develop/docs/contributors.rst)


Discussion / hints:

Fix patch:
diff --git a/serpentTools/parsers/sensitivity.py b/serpentTools/parsers/sensitivity.py
index da36fd9d..9de5ddf4 100644
--- a/serpentTools/parsers/sensitivity.py
+++ b/serpentTools/parsers/sensitivity.py
@@ -384,6 +384,7 @@ def plot(
                 {p} - specific perturbation
                 {r} - response being plotted
 
+        {title}
         {logx}
         {logy}
         {loglog}
@@ -478,6 +479,7 @@ def plot(
             legend=legend,
             xlabel=xlabel,
             ylabel=ylabel,
+            title=title,
         )
         return ax
 


Test patch:
diff --git a/tests/plots/result_images/test_sensitivity_filter.png b/tests/plots/result_images/test_sensitivity_filter.png
index b8bf0867..d12e4d8d 100644
Binary files a/tests/plots/result_images/test_sensitivity_filter.png and b/tests/plots/result_images/test_sensitivity_filter.png differ
diff --git a/tests/plots/test_sensitivity.py b/tests/plots/test_sensitivity.py
index dced61fb..515c7662 100644
--- a/tests/plots/test_sensitivity.py
+++ b/tests/plots/test_sensitivity.py
@@ -16,12 +16,15 @@ def flattop():
 @compare_or_update_plot
 def test_sensitivity_filter(flattop):
     ax = flattop.plot(
-        "keff", zai=922380, pert="total xs", labelFmt="{r}: {z} {p}",
+        "keff",
+        zai=922380,
+        pert="total xs",
+        labelFmt="{r}: {z} {p}",
+        title="Sensitivity of $k_{eff}$ to U-238 total cross section",
     )
     ax.set_xlim(LOWER_XLIM)
 
 
-
 @compare_or_update_plot
 def test_sensitivity_kwargs(flattop):
     flattop.plot(