Is that possible to use an array or list for the duration and transition for button in the figure? I am trying to create some animation with dot moving smoothly on a map. As discussed in this question, it seems that scatter_geo does not support smooth animation like that in scatter, so I have to interpolate frames between them. However, I only want to insert frames for several years (otherwise the whole figure will be too large), so to make the final animation looks like constant speed, it will be better if I can control the speed for each frame separately. I tried to redefine the duration and transition for each frame by myself, but it seems that those info is not used and only the duration and transition for the button are used. I also tried to use a list with the same length of the frames for the button duration and transition, but it also does not seem to work (although it does not report error). Thanks.
deJQK
24
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| How to use Plotly Python for complex 3D animations | 11 | 6020 | August 4, 2020 | |
| Python: Plotly Animation Tutorial Draws Every Data instead of Step by Step | 20 | 11666 | July 5, 2018 | |
| Animation 2D Vs 3D (Why in 3D transition duration do not work?) | 8 | 474 | May 24, 2022 | |
| Smooth Animation | 1 | 2094 | December 25, 2021 | |
| How to slow down animation in plotly express | 12 | 21515 | September 17, 2020 |