Plotly.plot vs Plotly.newPlot

I see some code snippets on the internet where the author writes Plotly.plot(…) where I would have expected Plotly.newPlot(…)

What is the difference between the two functions?