plotly / plotly.js

Open-source JavaScript charting library behind Plotly and Dash
https://plotly.com/javascript/
MIT License
17.07k stars 1.87k forks source link

Heatmap rendering performance when many slider steps #6533

Open josephernest opened 1 year ago

josephernest commented 1 year ago

Hi,

This one is somehow related to https://github.com/plotly/plotly.js/issues/6521 but slightly different.

TL;DR: Plotly slider with many hundreds of steps seems to be a bottleneck for heatmap rendering

Does this mean the slider itself is re-rendered for each update, making the whole thing slow?

I believe that solving this issue could have massive improvement on the responsiveness of every Plotly/Dash dashboard using sliders :)

Any idea?

josephernest commented 1 year ago

(Updated with the 3rd bullet point - https://jsfiddle.net/5L9ykt76/)

morganchristiansson commented 1 year ago

I believe I'm having the same issue with the slider but for choropleth map

I made a post in the forum about it https://community.plotly.com/t/choropleth-slider-animation-sluggish-with-many-frames/77857