Skip to content

Commit

Permalink
remove edge_width for points layer (#167)
Browse files Browse the repository at this point in the history
* remove edge_width for points layer

* change to border_width

* make edge_width/border_width for napari version
  • Loading branch information
McHaillet authored Apr 15, 2024
1 parent bf6f537 commit 5fc51ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/blik/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ def _construct_positions_layer(
"feature_defaults": feat_defaults,
"face_color": "teal",
"size": 5 / scale,
"edge_width": 0,
"scale": [scale] * 3,
"shading": "spherical",
"antialiasing": 0,
"metadata": {"experiment_id": exp_id, "p_id": p_id, "source": source},
"out_of_slice_display": True,
**pt_kwargs,
**({"projection_mode": "all"} if NAPARI_050 else {}),
**({"border_width": 0} if NAPARI_050 else {"edge_width": 0}),
},
"points",
)
Expand Down

0 comments on commit 5fc51ea

Please sign in to comment.