funkelab / motile_napari_plugin

A napari plugin for tracking with motile
https://funkelab.github.io/motile_napari_plugin/
BSD 3-Clause "New" or "Revised" License
5 stars 2 forks source link

Use magicgui to get labels layers that is mostly synced (no refresh button) #17

Closed cmalinmayor closed 5 months ago

cmalinmayor commented 6 months ago

https://napari.org/dev/howtos/extending/magicgui.html#qwidget-class-widgets - This is actually complicated and behind the scenes you need to manually connect to the viewer signals. I can just connect the viewer signals to my existing update function and remove the refresh (hopefully)