forked from pool/python-mpld3
Accepting request 1135266 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/1135266 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mpld3?expand=0&rev=5
This commit is contained in:
commit
22aaaba1d5
20
mpl-patches.patch
Normal file
20
mpl-patches.patch
Normal file
@ -0,0 +1,20 @@
|
||||
diff -ur mpld3-0.5.9.orig/mpld3/test_plots/test_patches.py mpld3-0.5.9/mpld3/test_plots/test_patches.py
|
||||
--- mpld3-0.5.9.orig/mpld3/test_plots/test_patches.py 2023-12-22 15:11:45.594473647 +0100
|
||||
+++ mpld3-0.5.9/mpld3/test_plots/test_patches.py 2023-12-22 15:14:58.773431149 +0100
|
||||
@@ -15,14 +15,14 @@
|
||||
|
||||
p = [patches.Arrow(0.75, 0.75, 0.5, 0.5),
|
||||
patches.Circle((1, 2), 0.4),
|
||||
- patches.RegularPolygon((1, 3), 5, 0.4),
|
||||
+ patches.RegularPolygon((1, 3), 5, radius=0.4),
|
||||
patches.Rectangle((1.6, 0.75), 0.8, 0.5),
|
||||
patches.CirclePolygon((2, 2), 0.4),
|
||||
patches.Polygon([[1.75, 3], [2, 3.25], [2.25, 3],
|
||||
[2, 2.75], [1.75, 3]]),
|
||||
patches.Wedge((3, 1), 0.4, 0, 270),
|
||||
patches.Ellipse((3, 2), 0.6, 0.4),
|
||||
- patches.Arc((3, 3), 0.5, 0.5, 270, 90)]
|
||||
+ patches.Arc((3, 3), 0.5, 0.5, angle=270, theta1=90)]
|
||||
|
||||
for patch in p:
|
||||
patch.set_facecolor(rcolor_1)
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 22 14:25:31 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Add mpl-patches.patch gh#mpld3/mpld3#521
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 7 20:43:25 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
|
@ -28,6 +28,8 @@ Source0: https://files.pythonhosted.org/packages/source/m/mpld3/mpld3-%{v
|
||||
Source1: https://github.com/mpld3/mpld3/raw/v%{version}/visualize_tests.py
|
||||
# PATCH-FIX-UPSTREAM mpld3-pr516-dasharray.patch gh#mpld3/mpld3#516
|
||||
Patch1: mpld3-pr516-dasharray.patch
|
||||
# PATCH-FIX-UPSTREAM mpl-patches.patch gh#mpld3/mpld3#521
|
||||
Patch2: mpl-patches.patch
|
||||
BuildRequires: %{python_module Jinja2}
|
||||
BuildRequires: %{python_module matplotlib}
|
||||
BuildRequires: %{python_module pip}
|
||||
|
Loading…
Reference in New Issue
Block a user