Plots window as a pane in VS Code

I’m using Plots in the terminal in VS Code. I use the GR back end. Whenever I make a plot in the REPL the plot opens in a separate GR window (invariably behind my VS Code window). How do I make my plots appear in a panel in VS Code? Thanks.

I can answer my own question. I was opening the terminal and launching Julia from there. That put plots in an external window.

I see that I should be using the command Julia: Start REPL and then it works. Now plots appear in a pane inside VS Code.

6 Likes