set_tracks_layer_data#
- movement.napari.layer_wiring.set_tracks_layer_data(tracks_layer, data, properties)[source]#
Set a Tracks layer’s data and properties, preserving color_by.
Setting
.dataon a napari Tracks layer resets its internal features to empty, which transiently invalidatescolor_by(napari warns and falls back to “track_id”) even though we restore the same properties and colour-by property right after. Suppress that spurious warning around the sequence.