Display with different plots show the same plot several times

Here is a minimal example:

using PlotlyLight

display(Plot(y=rand(10)))
display(Plot(y=rand(10)))

If I run this code inside a script, it will open two tabs in my browser with the same plot on both tabs. Somehow, it does the expected behavior when the script is run with VSCode and that the Display plots within VS Code option is enabled.

I “fixed” and responded to the issue here: stacked displays · Issue #33 · JuliaComputing/PlotlyLight.jl · GitHub

1 Like