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

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: