Skip to content

Commit

Permalink
replaced deprecated edge_width with border_width
Browse files Browse the repository at this point in the history
  • Loading branch information
niksirbi committed Sep 16, 2024
1 parent d9fd240 commit 9a487b1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion movement/napari/layer_styles.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
]
Expand Down
2 changes: 1 addition & 1 deletion tests/test_unit/test_napari_plugin/test_layer_styles.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9a487b1

Please sign in to comment.