How to replace the current plot in the same browser tab?


#1

With Plots + Plotly each new plot is created in a new browser tab.
Is it possible to replace the current plot in the same tab?


#2

Not that I know of, but there are lots of other backends that have a smoother way of showing the plots than saving an image and asking the browser to open it. You could try PlotlyJS, which plots to an electron window (or your IDE’s plot pane or your jupyter notebook, if you work in those environments).


#3

Thank you for your suggestion.

Actually I arrived at the simplest Plots+Plotly solution only
because it works, while the installation of my preferred backends
(Pyplot and PlotlyJS) now fails for Windows users.

(I think it is due to some Conda problem that is solved for OSX users.)