How to update a plotly express figure with new data, from IPython not Jupyter

SO how-to-update-redraw-a-plotly-express-figure-with-new-data suggested in 2020

f = go.FigureWidget()
f.show()
for y in range( N ):  # 1k, 10k ?
    f.add_scatter( y=[y] )
# f.show()  # renderer= 

but FigureWidget now needs anywidget, which I gather is for Jupyter / Jupterlab notebooks, not standalone python β†’ chrome, is that right ?

So, how to do this without FigureWidget ?

(5 fps and N=1000 points would be ok for me – simple code is way more important than speed.)

See also
Plotly figurewidget overview in Python – update
FigureWidget fails with anywidget in colab #5027
mpl animation strip_chart

(Is β€œcreate a new topic” your parlance for β€œtitle of a post” ?)
~

Hey @Denis_Bz welcome to the forums.

Unfortunately I do not understand your question. The linked matplotlib example reminds me of something I did quite a while ago:

Is the SO Q+A from the top line understandable ? Did you run it in jupyterlab ?
Then my question is, how to do that from plain python / IPython ?