From d5e563362538e1bf417fdc405ec78af6f6664396 Mon Sep 17 00:00:00 2001 From: Zebedee Nicholls Date: Mon, 30 Sep 2019 21:40:27 +1000 Subject: [PATCH] Update release notes --- RELEASE_NOTES.md | 1 + tests/test_plotting.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 47cce1502..73491dab7 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,6 +1,7 @@ # Next Release +- [#270](https://github.com/IAMconsortium/pyam/pull/270) Include variables with zeros in `stack_plot` (see [#266](https://github.com/IAMconsortium/pyam/issues/266)) - [#269](https://github.com/IAMconsortium/pyam/pull/269) Ensure append doesn't accidentally swap indexes - [#268](https://github.com/IAMconsortium/pyam/pull/268) Update `aggregate_region` so it can find variables below sub-cateogories too - [#267](https://github.com/IAMconsortium/pyam/pull/267) Make clear error message if variable-region pair is missing when `check_aggregate_region` is called diff --git a/tests/test_plotting.py b/tests/test_plotting.py index 444d44ea5..83618eea2 100644 --- a/tests/test_plotting.py +++ b/tests/test_plotting.py @@ -584,7 +584,8 @@ def test_stack_plot_negative_emissions_kwargs_custom_total(plot_stack_plot_df): @pytest.mark.mpl_image_compare(**MPL_KWARGS) def test_stack_plot_missing_zero_issue_266(plot_stack_plot_df): - df = pyam.IamDataFrame(pd.DataFrame([ + df = pyam.IamDataFrame(pd.DataFrame( + [ ['a', 1, 2, 3, 4], ['b', 0, 1, 2, 3], ['c', -1, 1, -1, -1],