Make the figures in VS Code bigger

Without this change, the figures in VS Code are too small.
This commit is contained in:
Michal Sojka 2021-03-30 20:11:05 +02:00
parent f2ef5373b0
commit 34af493921

View File

@ -244,6 +244,10 @@ function __init__()
(isdefined(Main, :VSCodeServer)) ||
(isdefined(Main, :PlutoRunner)) )
)
if isdefined(Main, :VSCodeServer)
# VS Code shows "dynamic" plots with fixed and small size :-(
options.mime[MIME"image/svg+xml"] = replace(options.mime[MIME"image/svg+xml"], "dynamic" => "")
end
end