diff --git a/src/Gnuplot.jl b/src/Gnuplot.jl index 5c3d9fb..e1fd16e 100644 --- a/src/Gnuplot.jl +++ b/src/Gnuplot.jl @@ -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