1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
From: Roland Mas <roland.mas@entierement.net>
Date: Sat, 29 Nov 2025 15:14:00 +0100
Subject: Fix test
Upstream commit da52bac1d3fe1faa152e8718c4a825aec4df1dd8
---
napari_svg/_tests/test_write_layer.py | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/napari_svg/_tests/test_write_layer.py b/napari_svg/_tests/test_write_layer.py
index c5a4d3a..0fe4832 100644
--- a/napari_svg/_tests/test_write_layer.py
+++ b/napari_svg/_tests/test_write_layer.py
@@ -197,16 +197,16 @@ def test_write_points_with_attributes(request, tmp_path):
]
size = [16, 20, 24]
face_color = ['red', 'green', 'blue']
- edge_color = ['cyan', 'magenta', 'yellow']
- edge_width = [0.05, 0.25, 0.5]
+ border_color = ['cyan', 'magenta', 'yellow']
+ border_width = [0.05, 0.25, 0.5]
layer = Points(
data,
opacity=0.5,
size=size,
face_color=face_color,
- edge_color=edge_color,
- edge_width=edge_width,
- edge_width_is_relative=True,
+ border_color=border_color,
+ border_width=border_width,
+ border_width_is_relative=True,
)
test_name = request.node.name
path = tmp_path / f'{test_name}-actual.svg'
|