Skip to content
This repository has been archived by the owner on Jul 13, 2021. It is now read-only.

Commit

Permalink
Splat res, since it can be an array
Browse files Browse the repository at this point in the history
  • Loading branch information
asinghvi17 authored Apr 28, 2020
1 parent 5ae45e6 commit 0085734
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/display.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 0085734

Please sign in to comment.