forgot a do

This commit is contained in:
Anshul Singhvi 2020-05-13 18:17:19 +05:30 committed by GitHub
parent 67a2a0f8d7
commit 8db2de64d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -782,7 +782,7 @@ end
function _update_min_padding!(sp::Subplot{GRBackend})
has_user_gkswstype = haskey(ENV, "GKSwstype")
withenv("GKSwstype" => 100, "GKS_ENCODING" => "utf8")
withenv("GKSwstype" => 100, "GKS_ENCODING" => "utf8") do
dpi = sp.plt[:thickness_scaling]
if has_user_gkswstype && isijulia()
ENV["GKSwstype"] = "svg"