# Need theory on why SVG Output is no longer auto-zooming in VSCode plots pane

**URL:** https://discourse.julialang.org/t/need-theory-on-why-svg-output-is-no-longer-auto-zooming-in-vscode-plots-pane/67985
**Category:** VS Code
**Created:** [September 10, 2021, 1:57pm UTC](https://discourse.julialang.org/t/need-theory-on-why-svg-output-is-no-longer-auto-zooming-in-vscode-plots-pane/67985 "2021-09-10T13:57:34Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Adam\_Fleischhacker](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/adam_fleischhacker/32/24468_2.png) [@Adam\_Fleischhacker](https://discourse.julialang.org/u/Adam_Fleischhacker)
#### Post date: [September 10, 2021, 1:57pm UTC](https://discourse.julialang.org/t/need-theory-on-why-svg-output-is-no-longer-auto-zooming-in-vscode-plots-pane/67985/1 "2021-09-10T13:57:35Z")

</div>

My SVG output from CairoMakie used to auto-zoom perfectly on the image. Now I am getting a non-zoomed output by default with weird text saying data:image/svg+xml. Here is a pic of the default output:

 ![image](https://global.discourse-cdn.com/julialang/original/3X/d/a/da54a7860581661bf30af9810ad9e4b5ba9ca80f.png)

I would rather see something like this where the weird text is gone and the whole plots pane is taken up by the SVG image:  
 ![image](https://global.discourse-cdn.com/julialang/original/3X/4/d/4d0e17973811f02200ec76536b762e17b9626721.png)

I installed some packages and feel maybe one of them is the cause?

---

<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: [September 10, 2021, 2:01pm UTC](https://discourse.julialang.org/t/need-theory-on-why-svg-output-is-no-longer-auto-zooming-in-vscode-plots-pane/67985/2 "2021-09-10T14:01:06Z")

</div>

> [@Adam\_Fleischhacker](#):
>
> I installed some packages and feel maybe one of them is the cause?

Unlikely. Pretty sure this is just a bug in the extension. Will fix.

---

<div class="post-metadata">

### Author: ![Adam\_Fleischhacker](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/adam_fleischhacker/32/24468_2.png) [@Adam\_Fleischhacker](https://discourse.julialang.org/u/Adam_Fleischhacker)
#### Post date: [September 10, 2021, 2:18pm UTC](https://discourse.julialang.org/t/need-theory-on-why-svg-output-is-no-longer-auto-zooming-in-vscode-plots-pane/67985/3 "2021-09-10T14:18:47Z")

</div>

I confirmed your suspicion. When I use the Julia extension v1.3.34, all works perfectly. If I use 1.4.0, then the above issue is expereinced.

I will mark this as solved and use 1.3.34 until 1.4.1? is released. Thank you for your quick reply and your efforts to bring Julia to VSCode, they are very appreciated. 😀 👍

---

<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: [September 10, 2021, 2:28pm UTC](https://discourse.julialang.org/t/need-theory-on-why-svg-output-is-no-longer-auto-zooming-in-vscode-plots-pane/67985/4 "2021-09-10T14:28:28Z")

</div>

Will be fixed with [https://github.com/julia-vscode/julia-vscode/pull/2442](https://github.com/julia-vscode/julia-vscode/pull/2442).
