forked from pool/python-mpld3
Dirk Mueller
eec23abca6
- Add mpl-patches.patch gh#mpld3/mpld3#521 OBS-URL: https://build.opensuse.org/request/show/1134637 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-mpld3?expand=0&rev=10
21 lines
969 B
Diff
21 lines
969 B
Diff
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)
|