https://plotly.com/javascript/plotlyjs-function-reference/#plotlyreact is said to be much faster than `newPlot` if we're reusing the same div and chart.