You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Community reported bug by Tphil10, as a DM to me. Bug description below:
We’ve [community members, Tim and Bryan] been tinkering around with some cool download animations for buttons but the way we’ve implemented is shines an odd issue with the background callback module.
The below code works great except for the time.sleep(1) line. If you increase this by more than 1 second, the download function downloads the file once a second, every second lol. I wanted to increase it so the checkmark animation stays a bit longer but alas, we can’t cause the file downloads multiple times. Thoughts? I think the problem is with the background callback.
Plotly staff member, Philippe, looked into this problem. The ostensible culprit is:
I've found the reason why it does it twice, we just never delete the progress key until the end, for most case it doesn't matter, but with the download it triggers it everytime it's updated.
The text was updated successfully, but these errors were encountered:
Community reported bug by Tphil10, as a DM to me. Bug description below:
We’ve [community members, Tim and Bryan] been tinkering around with some cool download animations for buttons but the way we’ve implemented is shines an odd issue with the background callback module.
The below code works great except for the
time.sleep(1)
line. If you increase this by more than 1 second, the download function downloads the file once a second, every second lol. I wanted to increase it so the checkmark animation stays a bit longer but alas, we can’t cause the file downloads multiple times. Thoughts? I think the problem is with the background callback.style.css file:
Plotly staff member, Philippe, looked into this problem. The ostensible culprit is:
The text was updated successfully, but these errors were encountered: