Juno plot opens Visual Studio Code


#1
using Plots
plotly() # Choose a backend
plot(rand(6,6)) # This will plot to the plot pane
gui() # This will open up a separate interactive GUI windows

I want to run this code and have the plot displayed in either the plot pane (preferably) or in a separate window, but instead this opens a new Visual Studio Code window. I’m inside Juno and JuliaPro-1.0.2.1.
How exactly does that happen and how do I change it?


#2

The only explanation that I can come up with is that VS Code is registered as the default viewer for some file type on your system, and that the Julia code is trying to show things with some system viewer. What kind of file is being opened in VS Code?


#3

No file is being opened, as far as I can see. It’s just the welcome screen.