Skip to content

Commit

Permalink
change include_plotlysj to require-loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
jkrumbiegel committed Jun 18, 2024
1 parent 6248b6a commit c4e6a5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function Base.show(io::IO, ::MIME"text/html", wrapper::PlotlyBasePlot)
# We want to embed only the minimum markup needed to render the
# plotlyjs plots, otherwise a full HTML page is generated for every
# plot which does not render correctly in our context.
PlotlyBase.to_html(io, wrapper.value; include_plotlyjs = "require", full_html = false)
PlotlyBase.to_html(io, wrapper.value; include_plotlyjs = "require-loaded", full_html = false)
end

end
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function Base.show(io::IO, ::MIME"text/html", wrapper::PlotlyJSSyncPlot)
PlotlyJS.PlotlyBase.to_html(
io,
wrapper.value.plot;
include_plotlyjs = "require",
include_plotlyjs = "require-loaded",
full_html = false,
)
end
Expand Down

0 comments on commit c4e6a5f

Please sign in to comment.