# VegaLite with vscode

**URL:** https://discourse.julialang.org/t/vegalite-with-vscode/76132
**Category:** New to Julia
**Tags:** question, plotting, vscode, vegalite
**Created:** [February 10, 2022, 12:29am UTC](https://discourse.julialang.org/t/vegalite-with-vscode/76132 "2022-02-10T00:29:32Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![gtraeger](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gtraeger/32/31043_2.png) [@gtraeger](https://discourse.julialang.org/u/gtraeger)
#### Post date: [February 10, 2022, 12:29am UTC](https://discourse.julialang.org/t/vegalite-with-vscode/76132/1 "2022-02-10T00:29:32Z")

</div>

When I plot something with VegaLite using vscode the plot shows up as a thumbnail in a new window. The thumbnail size stays static even though I resize the plot window. Is there any way I can get the plot to resize as I readjust the plot window? Thanks.

---

<div class="post-metadata">

### Author: ![xinchin](https://avatars.discourse-cdn.com/v4/letter/x/54ee81/32.png) [@xinchin](https://discourse.julialang.org/u/xinchin)
#### Post date: [February 10, 2022, 2:47am UTC](https://discourse.julialang.org/t/vegalite-with-vscode/76132/2 "2022-02-10T02:47:05Z")

</div>

I think you have the same issue as mine when I first start using VegaLite.jl, for mine the problem was the default values for `width` and `height` were small so the output seems like a thumbnail. I just add `width = 600` and `height = 600` inside my `@vlplot` code to increase the default values.

---

<div class="post-metadata">

### Author: ![gtraeger](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gtraeger/32/31043_2.png) [@gtraeger](https://discourse.julialang.org/u/gtraeger)
#### Post date: [February 10, 2022, 10:18pm UTC](https://discourse.julialang.org/t/vegalite-with-vscode/76132/3 "2022-02-10T22:18:37Z")

</div>

Increasing the width and height to 600 makes it better but I still have room in the window to expand. When I increased the height and width value to 800 it shrunk the markers and made it harder to read. It appears at 800 the scaling gets weird. The plot just seems too small.

---

<div class="post-metadata">

### Author: ![xinchin](https://avatars.discourse-cdn.com/v4/letter/x/54ee81/32.png) [@xinchin](https://discourse.julialang.org/u/xinchin)
#### Post date: [February 19, 2022, 12:48am UTC](https://discourse.julialang.org/t/vegalite-with-vscode/76132/4 "2022-02-19T00:48:13Z")

</div>

One thing that you can do is to turn off `Use Plot Pane` in VSCode, which passes the result to web browser.
