Skip to content

Commit

Permalink
Merge pull request #109 from artemsolod/patch-1
Browse files Browse the repository at this point in the history
Fix `IJuliaExt.display_dict` for julia 1.11
  • Loading branch information
sglyon authored Oct 7, 2024
2 parents 76ffe57 + 82d61a8 commit fc32836
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ext/IJuliaExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ function IJulia.display_dict(p::Plot)
"text/html" => let
buf = IOBuffer()
show(buf, MIME("text/html"), p, include_plotlyjs="require")
String(resize!(buf.data, buf.size))
String(take!(buf))
end
)
end

end
end

0 comments on commit fc32836

Please sign in to comment.