napari / napari-animation

A napari plugin for making animations
https://napari.github.io/napari-animation/
Other
76 stars 27 forks source link

modify interpolation functions to accept `ViewerState` objects directly #89

Closed alisterburt closed 1 year ago

alisterburt commented 3 years ago

after #88 we should modify the interpolation function so that it accepts ViewerState objects directly as suggested by @tlambert03

This will remove the need to call asdict here and tidy things up a bit

https://github.com/napari/napari-animation/blob/8c7119e69933bcba8f0263d3cab966f373a7cc24/napari_animation/animation.py#L137-L138

alisterburt commented 1 year ago

done!