Skip to content

Commit

Permalink
Fix for using IJulia with Julia 1.11.1 and the new Memory array types. (
Browse files Browse the repository at this point in the history
  • Loading branch information
jd-foster authored Nov 6, 2024
1 parent 1266097 commit ff6f9d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/IJuliaExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function IJulia.display_dict(p::PlotlyJS.SyncPlot)
"text/html" => let
buf = IOBuffer()
show(buf, MIME("text/html"), p)
String(resize!(buf.data, buf.size))
String(resize!(collect(buf.data), buf.size))
end
)
end
Expand Down

0 comments on commit ff6f9d3

Please sign in to comment.