# Blurred Plot in side panel

**URL:** <https://discourse.julialang.org/t/blurred-plot-in-side-panel/72006>\
**Category:** VS Code\
**Tags:** plotting\
**Created:** [November 24, 2021, 12:57pm UTC](https://discourse.julialang.org/t/blurred-plot-in-side-panel/72006 "2021-11-24T12:57:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![zmoitier](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/zmoitier/32/29102_2.png) [@zmoitier](https://discourse.julialang.org/u/zmoitier)\
**Post date:** [November 24, 2021, 12:57pm UTC](https://discourse.julialang.org/t/blurred-plot-in-side-panel/72006/1 "2021-11-24T12:57:37Z")

</div>

The plot inside vscode are blurred / fuzzy. If I take the [documentation example](https://www.julia-vscode.org/docs/stable/userguide/plotgallery/):

```julia
using Plots
x = 1:10;
y = rand(10); # These are the plotting data 
plot(x, y, label = "my label")

```

I get the following print screen:

 ![issue_vscode](https://global.discourse-cdn.com/julialang/original/3X/6/0/607656665f6fbe1dd14df00ba077f49229ef80cf.png)

You can see that the numbers are blurred and the lines are fuzzy. Why I do not have the same quality of image as in the documentation ?

* * *

The versions:

- Julia `v1.6.4`
- vscode `v1.62.3`
- julia-vscode `v1.5.6`
- Plots `v1.23.6`

---

<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:** [November 24, 2021, 1:20pm UTC](https://discourse.julialang.org/t/blurred-plot-in-side-panel/72006/2 "2021-11-24T13:20:01Z")

</div>

Hm, weird. Looks like the Plots/GR output isn’t using the right pixel density or something.

Try `display("image/svg+xml", plot(x, y, label = "my label"))` until someone figures out why this happens (or the Julia extension goes back to displaying plots as svg by default).

---

<div class="post-metadata">

**Author:** ![zmoitier](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/zmoitier/32/29102_2.png) [@zmoitier](https://discourse.julialang.org/u/zmoitier)\
**Post date:** [November 24, 2021, 1:51pm UTC](https://discourse.julialang.org/t/blurred-plot-in-side-panel/72006/3 "2021-11-24T13:51:58Z")

</div>

Thank you for the workaround, it is a bit annoying but it works.

---

<div class="post-metadata">

**Author:** ![kucuksen](https://avatars.discourse-cdn.com/v4/letter/k/a4c791/32.png) [@kucuksen](https://discourse.julialang.org/u/kucuksen)\
**Post date:** [November 28, 2021, 3:38pm UTC](https://discourse.julialang.org/t/blurred-plot-in-side-panel/72006/4 "2021-11-28T15:38:55Z")

</div>

I am having the same issue. When I plot with plotly or plotlyjs the graphs look normal. But when I plot with gr or pyplot the graphs look blurred on vs code. By the way, graphs are normal except for vs code.
