Update only one point of the graph

As the title says I would like to know if there is any way to update only one point of a graph without having to plot all the points again

To update plot data I think Plotly.restyle is your only option and you have to provide all the points

restyle is used to change the attributes or styles of a stroke, it is not what I am looking for; I have a graph with more than 5,000 points of which 1 point is updated every certain time and it is not efficient for me to plot the 5,000 points again when only 1 is the one that changed

have you checked with the restyle, does it make your ui slow/laggy?