# Plotting bug in VS Code plot pane

**URL:** <https://discourse.julialang.org/t/plotting-bug-in-vs-code-plot-pane/44695>\
**Category:** New to Julia\
**Created:** [August 10, 2020, 3:32pm UTC](https://discourse.julialang.org/t/plotting-bug-in-vs-code-plot-pane/44695 "2020-08-10T15:32:18Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![affans](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/affans/32/11911_2.png) [@affans](https://discourse.julialang.org/u/affans)\
**Post date:** [August 10, 2020, 4:03pm UTC](https://discourse.julialang.org/t/plotting-bug-in-vs-code-plot-pane/44695/2 "2020-08-10T16:03:49Z")

</div>

To those who have reached this thread from Google. See solutions at [Unable to display plot using the REPL. GKS errors - #18 by affans](https://discourse.julialang.org/t/unable-to-display-plot-using-the-repl-gks-errors/12826/18)

I fixed my problem with

```julia
ENV["GKSwstype"] = "nul"
using Plots
p = plot(rand(100))

```

---

_[View the full topic](https://discourse.julialang.org/t/plotting-bug-in-vs-code-plot-pane/44695)._
