# Plot Pane Issue

**URL:** https://discourse.julialang.org/t/plot-pane-issue/103271
**Category:** Tooling
**Tags:** plotting, vscode
**Created:** [August 28, 2023, 1:54am UTC](https://discourse.julialang.org/t/plot-pane-issue/103271 "2023-08-28T01:54:52Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![TI36XPro](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ti36xpro/32/33658_2.png) [@TI36XPro](https://discourse.julialang.org/u/TI36XPro)
#### Post date: [August 28, 2023, 1:54am UTC](https://discourse.julialang.org/t/plot-pane-issue/103271/1 "2023-08-28T01:54:52Z")

</div>

I’m not sure what I’ve done, but in VSCode my plots no longer show up in the plot pane when I do `shift+enter`. I am using VSCode Version 1.81.1 and Julia extension v1.49.2.

For example until yesterday I could do the following.

```julia
begin
    f = Figure()
    ax = Axis(f[1, 1],
        title="A Makie Axis",
        xlabel="The x label",
        ylabel="The y label"
    )
    f
end # shift+enter, executes this entire block and the plot pane shows up (plot pane counter goes to 1/1)
f # shift+enter again, plots again (counter goes to 2/2)

```

Now when I do this it only outputs `Figure()` in-line.  
I made sure I have the following setting enabled `"julia.usePlotPane": true`. I also checked and `VSCodeServer.PLOT_PANE_ENABLED[]` returns `true` in the connected REPL.

Note that I can get the plot to show up if I go down to the REPL and enter `f`. But it is much easier to `shift+enter` when I am interactively studying simulation results.

Any advice on how to resolve this would be appreciated.

---

<div class="post-metadata">

### Author: ![oheil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oheil/32/220745_2.png) [@oheil](https://discourse.julialang.org/u/oheil)
#### Post date: [August 28, 2023, 11:51am UTC](https://discourse.julialang.org/t/plot-pane-issue/103271/2 "2023-08-28T11:51:50Z")

</div>

I tried to replicate this issue but failed, except that there is an option in the settings for the Julia Plugin called `julia.execution.codeInREPL` which was set to false for me. Setting it to true or checking the mark does echo the executed code in the REPL again, as it was expected by me.

There seem to be more options available for code execution, you may check them too. `julia.execution.resultType` seems to be related too.

I do not use this feature a lot, so I don’t know if anything changed or if it is something else in your case.

The plot pane opens and counts up with every shft/enter on my system. (using CairoMakie)

---

<div class="post-metadata">

### Author: ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)
#### Post date: [August 28, 2023, 12:14pm UTC](https://discourse.julialang.org/t/plot-pane-issue/103271/3 "2023-08-28T12:14:57Z")

</div>

Also try again with the newest version of the extension, which, IIRC fixes an edge case related to plots not being shown in some code execution variations.

---

<div class="post-metadata">

### Author: ![RJDennis](https://avatars.discourse-cdn.com/v4/letter/r/90db22/32.png) [@RJDennis](https://discourse.julialang.org/u/RJDennis)
#### Post date: [August 28, 2023, 12:55pm UTC](https://discourse.julialang.org/t/plot-pane-issue/103271/4 "2023-08-28T12:55:50Z")

</div>

My plot pane has also gone after updating to Julia extension v1.49.2 just now. Tried the pre-release version and that too did not show plots. Using Julia 1.9.2 on Windows. Use plot pane is set to true in the extension settings.

---

<div class="post-metadata">

### Author: ![TI36XPro](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ti36xpro/32/33658_2.png) [@TI36XPro](https://discourse.julialang.org/u/TI36XPro)
#### Post date: [August 31, 2023, 3:19am UTC](https://discourse.julialang.org/t/plot-pane-issue/103271/5 "2023-08-31T03:19:14Z")

</div>

Issue persists in the pre-release v1.51.1.

---

<div class="post-metadata">

### Author: ![TI36XPro](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ti36xpro/32/33658_2.png) [@TI36XPro](https://discourse.julialang.org/u/TI36XPro)
#### Post date: [August 31, 2023, 3:21am UTC](https://discourse.julialang.org/t/plot-pane-issue/103271/6 "2023-08-31T03:21:24Z")

</div>

> [@oheil](#):
>
> I tried to replicate this issue but failed, except that there is an option in the settings for the Julia Plugin called `julia.execution.codeInREPL` which was set to false for me

I tried setting that to true. Did not fix the issue for me even though I can see the code echoed in the integrated REPL. I have to manually enter the code into the REPL and then hit enter for the plot pane to show up or update.

---

<div class="post-metadata">

### Author: ![TI36XPro](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ti36xpro/32/33658_2.png) [@TI36XPro](https://discourse.julialang.org/u/TI36XPro)
#### Post date: [September 3, 2023, 1:58am UTC](https://discourse.julialang.org/t/plot-pane-issue/103271/7 "2023-09-03T01:58:32Z")

</div>

Issue is fixed for me in `v1.51.2` of the Julia extension.
