From 00857343fb544b9c65906d411d689e6b5786c69c Mon Sep 17 00:00:00 2001 From: Anshul Singhvi Date: Tue, 28 Apr 2020 13:39:13 +0530 Subject: [PATCH] Splat res, since it can be an array --- src/display.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/display.jl b/src/display.jl index 1785081f3..89650805c 100644 --- a/src/display.jl +++ b/src/display.jl @@ -86,7 +86,7 @@ for M in (MIME"text/plain", MIME) if m isa MIME"image/svg+xml" res = round.(Int, res .* 0.75) end - resize!(scene, res) + resize!(scene, res...) end ioc = IOContext(io, :full_fidelity => true, :pt_per_unit => get(io, :pt_per_unit, 1.0), :px_per_unit => get(io, :px_per_unit, 1.0))