Hi !
This post is following the topic I made two or three weeks ago here
I’m still confused about the differences between Plotly.redraw
, Plotly.restyle
and Plotly.react
. Is this the same thing, or there are performance differences between them?
Here, to update my plot with new traces (The idea is to override all the points with several traces, having the same coordinates) I do this :
//update the plot
Plotly.purge(GRAPHDIV);
Plotly.react(GRAPHDIV, data, LAYOUT); //"data" contain the traces
By doing “Plotly.purge”, I’m pretty sure to lost performances. But if I don’t, the first problem I’ve got is the same problem on my first post, where the div hide itself. The second one is that the plot lost is responsiveness!
What am I doing wrong?
Have a good day,
Marion