Skip to content

Commit ff6f9d3

Browse files
authored
Fix for using IJulia with Julia 1.11.1 and the new Memory array types. (#490)
1 parent 1266097 commit ff6f9d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/IJuliaExt.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function IJulia.display_dict(p::PlotlyJS.SyncPlot)
1313
"text/html" => let
1414
buf = IOBuffer()
1515
show(buf, MIME("text/html"), p)
16-
String(resize!(buf.data, buf.size))
16+
String(resize!(collect(buf.data), buf.size))
1717
end
1818
)
1919
end

0 commit comments

Comments
 (0)