Plotting bug in VS Code plot pane

To those who have reached this thread from Google. See solutions at Unable to display plot using the REPL. GKS errors - #18 by affans

I fixed my problem with

ENV["GKSwstype"] = "nul"
using Plots
p = plot(rand(100))
1 Like