diff --git a/src/motile_plugin/data_views/views_coordinator/tracks_viewer.py b/src/motile_plugin/data_views/views_coordinator/tracks_viewer.py index 904528b..5367366 100644 --- a/src/motile_plugin/data_views/views_coordinator/tracks_viewer.py +++ b/src/motile_plugin/data_views/views_coordinator/tracks_viewer.py @@ -121,7 +121,7 @@ def update_tracks(self, tracks: Tracks, name: str) -> None: # deactivate the input labels layer for layer in self.viewer.layers: - if isinstance(layer, napari.layers.Labels): + if isinstance(layer, (napari.layers.Labels | napari.layers.Points)): layer.visible = False self.set_display_mode("all")