# Studio closes pane with each plot command

**URL:** <https://discourse.julialang.org/t/studio-closes-pane-with-each-plot-command/72969>\
**Category:** VS Code\
**Tags:** plotting\
**Created:** [December 12, 2021, 9:48am UTC](https://discourse.julialang.org/t/studio-closes-pane-with-each-plot-command/72969 "2021-12-12T09:48:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Smack](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/smack/32/30102_2.png) [@Smack](https://discourse.julialang.org/u/Smack)\
**Post date:** [December 12, 2021, 9:48am UTC](https://discourse.julialang.org/t/studio-closes-pane-with-each-plot-command/72969/1 "2021-12-12T09:48:11Z")

</div>

After latest update VS code now closes the plotting pane and shifts focus to plot tab after each plot.  
My first question is how do I stop this.  
My second question is how do I disable these updates and pre-compilations each time I restart VS code.  
They have been a source of unpredictability and instability in general.  
Thank you.

---

<div class="post-metadata">

**Author:** ![zdenek\_hurak](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/zdenek_hurak/32/53118_2.png) [@zdenek\_hurak](https://discourse.julialang.org/u/zdenek_hurak)\
**Post date:** [December 12, 2021, 12:48pm UTC](https://discourse.julialang.org/t/studio-closes-pane-with-each-plot-command/72969/2 "2021-12-12T12:48:41Z")

</div>

I guess it is this issue [https://github.com/julia-vscode/julia-vscode/issues/2618](https://github.com/julia-vscode/julia-vscode/issues/2618), isn‘t it?

---

<div class="post-metadata">

**Author:** ![trilobit](https://avatars.discourse-cdn.com/v4/letter/t/a8b319/32.png) [@trilobit](https://discourse.julialang.org/u/trilobit)\
**Post date:** [December 13, 2021, 9:45am UTC](https://discourse.julialang.org/t/studio-closes-pane-with-each-plot-command/72969/3 "2021-12-13T09:45:37Z")

</div>

Had the same behavior.

My solution:  
In the menu of the code pane(“more actions” - the 3 dots in the upper, right corner) , I selected “lock group” and the plot-pane was “normal” again on my PC.

---

<div class="post-metadata">

**Author:** ![Smack](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/smack/32/30102_2.png) [@Smack](https://discourse.julialang.org/u/Smack)\
**Post date:** [December 13, 2021, 2:38pm UTC](https://discourse.julialang.org/t/studio-closes-pane-with-each-plot-command/72969/4 "2021-12-13T14:38:17Z")

</div>

You are correct, and it’s similar times.  
Sounds like a real hassle and it seems to me the issue here is that VScode updates automatically with each launch of the program.  
Seems like it would be a good idea to disable this feature except for versions that were verified to not break the Julia environment.

---

<div class="post-metadata">

**Author:** ![Smack](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/smack/32/30102_2.png) [@Smack](https://discourse.julialang.org/u/Smack)\
**Post date:** [December 13, 2021, 2:41pm UTC](https://discourse.julialang.org/t/studio-closes-pane-with-each-plot-command/72969/5 "2021-12-13T14:41:49Z")

</div>

Well done!  
I tried this before with the plots pane but it didn’t solve the problem.
