Reuse PlotlyJS Blink window

Very basic question: when using PlotlyJS with the Blink display window, how can I get subsequent calls to plot() to reuse the same Blink window rather than opening new windows?

Hello,
One way is first to call deletetraces!(p,0); and then addtrace!(p,plt) where plt is the plot.

A simple example

using PlotlyJS
# Data 
x = 1:10
y = randn(10)
# Plotting data 
pl1	  = PlotlyJS.scatter(; x,y, name=" ");
p = PlotlyJS.plot(pl1)
# New data and update plot 
y = randn(10)
deletetraces!(p,0);
pl1	  = PlotlyJS.scatter(; x,y, name=" ");
addtraces!(p,pl1)