Plotly.react has the same signature as Plotly.newPlot above, and can be used in its place to create a plot, but when called again on the samewill update it far more efficiently than Plotly.newPlot, which would destroy and recreate the plot. Plotly.react is as fast as Plotly.restyle/Plotly.relayout documented below.