When I run this and send the output to a web app (Blink) I get the plot in the webapp, but also a separate window opening! Is there a way of not opening the actual plot window?
Makie.lines(x)
In Plots.jl the window only appears when it’s returned in the REPL, or you specifically call display().
I’ve never investigated what the mechanism is as it just works. But the output of plot() that is passed to Blink etc. outputs a png or svg that displays in the electron window, and doesn’t open a separate window when it is displayed.
In Makie it outputs the png which appears in the electron window, but also opens a separate plot window.