No responsiveness while using Plotly.react

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

Little up :slight_smile: I still need help, and I would really like to understand what I am doing wrong here.

Hi,

I’m still struggling with responsiveness. There is obviously something I don’t understand, but I’m not able to figure out what I’m doing wrong on my own.

Any help would be appreciated :slight_smile: