From ddd582a441b26be7bcfeaea09df28468efd554c9 Mon Sep 17 00:00:00 2001 From: AdamOrmondroyd Date: Wed, 20 Sep 2023 23:20:39 +0100 Subject: [PATCH 1/2] Ignore "You are using [hist/kde] as a plot kind" warnings --- tests/test_samples.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test_samples.py b/tests/test_samples.py index 815bbd65..c1c74610 100644 --- a/tests/test_samples.py +++ b/tests/test_samples.py @@ -820,6 +820,8 @@ def test_stats(): @pytest.mark.parametrize('kind', ['kde', 'hist', 'kde_1d', 'hist_1d', skipif_no_fastkde('fastkde_1d')]) +@pytest.mark.filterwarnings( + "ignore:.*You are using .* as a plot kind.*:UserWarning") def test_masking_1d(kind): pc = read_chains("./tests/example_data/pc") mask = pc['x0'].to_numpy() > 0 @@ -828,6 +830,8 @@ def test_masking_1d(kind): @pytest.mark.parametrize('kind', ['kde', 'scatter', 'scatter_2d', 'kde_2d', 'hist_2d', skipif_no_fastkde('fastkde_2d')]) +@pytest.mark.filterwarnings( + "ignore:.*You are using .* as a plot kind.*:UserWarning") def test_masking_2d(kind): pc = read_chains("./tests/example_data/pc") mask = pc['x0'].to_numpy() > 0 From de45ccff2edc34e6949e36c97590d5854bc46132 Mon Sep 17 00:00:00 2001 From: AdamOrmondroyd Date: Wed, 20 Sep 2023 23:26:38 +0100 Subject: [PATCH 2/2] hedge bets that #341 will merge first lol --- README.rst | 2 +- anesthetic/_version.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 4b006f4a..e59d3737 100644 --- a/README.rst +++ b/README.rst @@ -2,7 +2,7 @@ anesthetic: nested sampling post-processing =========================================== :Authors: Will Handley and Lukas Hergt -:Version: 2.3.2 +:Version: 2.3.4 :Homepage: https://github.com/handley-lab/anesthetic :Documentation: http://anesthetic.readthedocs.io/ diff --git a/anesthetic/_version.py b/anesthetic/_version.py index 96deb04f..6ec85d61 100644 --- a/anesthetic/_version.py +++ b/anesthetic/_version.py @@ -1 +1 @@ -__version__ = '2.3.2' +__version__ = '2.3.4'