diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-09-16 00:15:03 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-09-16 00:19:17 +0200 |
commit | 0bc6bf85697af01ff47b1d5489db7336da98c680 (patch) | |
tree | 0ad4766bbbd3ab8937a69b9da4e93a7f667f4bc2 /dev-python | |
parent | dev-python/sentry-sdk: Bump to 0.17.6 (diff) | |
download | gentoo-0bc6bf85697af01ff47b1d5489db7336da98c680.tar.gz gentoo-0bc6bf85697af01ff47b1d5489db7336da98c680.tar.bz2 gentoo-0bc6bf85697af01ff47b1d5489db7336da98c680.zip |
dev-python/matplotlib: Bump to 3.3.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/matplotlib/files/matplotlib-3.3.2-test-extra.patch | 25 | ||||
-rw-r--r-- | dev-python/matplotlib/matplotlib-3.3.2.ebuild | 1 |
2 files changed, 26 insertions, 0 deletions
diff --git a/dev-python/matplotlib/files/matplotlib-3.3.2-test-extra.patch b/dev-python/matplotlib/files/matplotlib-3.3.2-test-extra.patch new file mode 100644 index 000000000000..1fff166295b2 --- /dev/null +++ b/dev-python/matplotlib/files/matplotlib-3.3.2-test-extra.patch @@ -0,0 +1,25 @@ +From 5d2f40b312966c08436b4495980313f2dacd9750 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> +Date: Tue, 15 Sep 2020 23:48:05 +0200 +Subject: [PATCH] Increase tolerance for test_transparent_markers + +--- + lib/matplotlib/tests/test_axes.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/matplotlib/tests/test_axes.py b/lib/matplotlib/tests/test_axes.py +index 412dd2471..52a32f9f1 100644 +--- a/lib/matplotlib/tests/test_axes.py ++++ b/lib/matplotlib/tests/test_axes.py +@@ -3500,7 +3500,7 @@ def test_hist_labels(): + assert l[2][0].get_label() == '00' + + +-@image_comparison(['transparent_markers'], remove_text=True) ++@image_comparison(['transparent_markers'], remove_text=True, tol=5) + def test_transparent_markers(): + np.random.seed(0) + data = np.random.random(50) +-- +2.28.0 + diff --git a/dev-python/matplotlib/matplotlib-3.3.2.ebuild b/dev-python/matplotlib/matplotlib-3.3.2.ebuild index d8b120fa06ff..9ded3690e457 100644 --- a/dev-python/matplotlib/matplotlib-3.3.2.ebuild +++ b/dev-python/matplotlib/matplotlib-3.3.2.ebuild @@ -146,6 +146,7 @@ python_prepare_all() { local PATCHES=( "${FILESDIR}"/matplotlib-3.3.0-test.patch + "${FILESDIR}"/matplotlib-3.3.2-test-extra.patch ) # requires jupyter-nbconvert |