I have a problem with plots in VS Code. Plots are blurred and one cannot zoom in/out within it as it used to be.
It saves the plot correctly into pdf.
Plots v1.23.1, v1.23.6.
GR 0.61.0
See
https://github.com/julia-vscode/julia-vscode/issues/2561
Also, panning/zooming now needs you to hold Alt/Option.
jheinen
November 16, 2021, 12:13pm
3
I just tried GR.jl/examples/covid19.ipynb in VS Code and everything looks fine: I can pan, zoom in/out and hover over the points.
As you can see, the plot is displayed in Retina resolution.
Isn’t this related to the setting SVG plotting in Jupyter,
as also mentioned in the previous post.
If I use
display(VSCodeServer.InlineDisplay(), "image/svg+xml", my_plot)
I will get desired retina/not-blurred plot. However, defaults changes.
jheinen
November 16, 2021, 1:50pm
5
The PDF plot (generated by GR) should have the same quality (if correctly rendered by VS Code). The internal resolution (in GR’s PDF output device) is > 900dpi.