Skip to content

Commit

Permalink
Merge branch 'JuliaComputing:master' into Titas22-fix-VSCodeJupyter
Browse files Browse the repository at this point in the history
  • Loading branch information
Titas22 authored Dec 28, 2023
2 parents b5a7838 + 04f89af commit 3de10e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PlotlyLight.jl
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ function Base.show(io::IO, M::MIME"text/html", o::Plot; setting::Settings = SETT
show(io, M, setting.load_plotlyjs())
show(io, M, setting.make_container(id))
print(io, "<script>Plotly.newPlot(", repr(id), ", ")
foreach(x -> (JSON3.write(io, x); print(io, ", ")), (data, layout, config))
foreach(x -> (JSON3.write(io, x; allow_inf=true); print(io, ", ")), (data, layout, config))
print(io, ")</script>")
else
iframe = setting.iframe
Expand Down

0 comments on commit 3de10e9

Please sign in to comment.