When plotting with plotly-express (px) and plotly.offline, every once in a while (maybe once an hour) all previous plots I had re-open on my browser.
I tried accessing the ExpressFigure object to see if the problem is there - but couldn't manage.
import plotly_express as px
from plotly.offline import plot
iris = px.data.iris()
scatter_plot = px.scatter(iris, x="sepal_width", y="sepal_length")
plot(scatter_plot)
This will plot the data in a new tab (saving an html file in the local directory), that will reopen every once in a while, replotting the instance.
(This required plotly_express and pandas installed. to install px, simply run pip install plotly_express).