0

When I run a plot command in Julia, plot opens in external GKS QTterm window. How to open plot right there in VScode?

using Plots
plot(rand(10))

Opened window in QTterm

1

vimuth
  • 5,064
  • 33
  • 79
  • 116
Pawan Kumar
  • 114
  • 9

2 Answers2

0

For me, the effect you describe comes when Use Plot Pane setting is turned off:

Settings> Julia > Use Plot Pane

Kill Julia process to apply.

vasja
  • 4,732
  • 13
  • 15
0

Thank you. with the suggested settings, plot was still not opening in VScode because I was running Julia file in

VScode and powershell To get the plot in VScode I had to run Julia through REPL Please refer the attached image.

1

vimuth
  • 5,064
  • 33
  • 79
  • 116
Pawan Kumar
  • 114
  • 9