diff --git a/movement/napari/layer_styles.py b/movement/napari/layer_styles.py index c845c8f25..0a0e8d5b4 100644 --- a/movement/napari/layer_styles.py +++ b/movement/napari/layer_styles.py @@ -33,7 +33,7 @@ class PointsStyle(LayerStyle): blending: str = "translucent" symbol: str = "disc" size: int = 10 - edge_width: int = 0 + border_width: int = 0 face_color: str | None = None face_color_cycle: list[tuple] | None = None face_colormap: str = DEFAULT_COLORMAP diff --git a/pyproject.toml b/pyproject.toml index 530cd3055..adb476024 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,7 +47,7 @@ entry-points."napari.manifest".movement = "movement.napari:napari.yaml" [project.optional-dependencies] napari = [ - "napari[all]>=0.4.19", + "napari[all]>=0.5.0", "napari-video>=0.2.9", "brainglobe-utils[qt]>=0.6" # needed for collapsible widgets ] diff --git a/tests/test_unit/test_napari_plugin/test_layer_styles.py b/tests/test_unit/test_napari_plugin/test_layer_styles.py index 0b5cfcf74..0961f074e 100644 --- a/tests/test_unit/test_napari_plugin/test_layer_styles.py +++ b/tests/test_unit/test_napari_plugin/test_layer_styles.py @@ -52,7 +52,7 @@ def test_points_style_initialization(sample_properties): assert points_style.symbol == "disc" assert points_style.size == 10 - assert points_style.edge_width == 0 + assert points_style.border_width == 0 assert points_style.face_color is None assert points_style.face_color_cycle is None assert points_style.face_colormap == DEFAULT_COLORMAP