The Melancholy

Информация о пользователе

Привет, Гость! Войдите или зарегистрируйтесь.


Вы здесь » The Melancholy » Сюжет » Animation options in Dash


Animation options in Dash

Сообщений 1 страница 2 из 2

1

Hello

I have been working on my web app and it finally works pretty well…locally. As I understand, animations are not yet supported by Dash, therefore I found a workaround by using an Interval that updates the figure attribute of a Graph. However, transitions are not very smooth. I found an option animate and animate_options for Graph objects but I don’t know what keywords are accepted for animate_options to obtain smooth transitions. Ideally, I would like to obtain something as smooth as the Lorentz attractor example here. I tried

animation_options = dict(
    transition = dict(duration = 0),
    frame = dict(duration = 0, redraw = False),
)
but it doesn’t change anything…do you guys have any idea of what keywords I should use?

Also, I uploaded my app on Heroku2 and animations are waaaaaaaaaaay sluggish than locally…do you have any idea why is that?

Please help....

I didn't find the right solution from the Internet.
References
https://community.plot.ly/t/animation-o … -dash/6555
demo video

0

2


Вы здесь » The Melancholy » Сюжет » Animation options in Dash