How to make plots appear inside a pane in vscode (instead of "GKS QtTerm")?

Adjusting the VS Code plot settings as indicated above and then adding to TestPlots.jl:

PlotsOnAnotherModule.foo()

does get the plot displayed in the VS Code plot pane.