From 2fa4a63f0229365e9007a03338e3082c6e6fa90d Mon Sep 17 00:00:00 2001 From: Daniel Schwabeneder Date: Thu, 9 Apr 2020 10:55:33 +0200 Subject: [PATCH] fix webio error for plotlyjs --- src/backends/plotlyjs.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backends/plotlyjs.jl b/src/backends/plotlyjs.jl index aa1f6701..6fd07971 100644 --- a/src/backends/plotlyjs.jl +++ b/src/backends/plotlyjs.jl @@ -43,7 +43,7 @@ _display(plt::Plot{PlotlyJSBackend}) = display(plotlyjs_syncplot(plt)) @require WebIO = "0f1e0344-ec1d-5b48-a673-e5cf874b6c29" begin function WebIO.render(plt::Plot{PlotlyJSBackend}) plt_html = sprint(show, MIME("text/html"), plt) - return WebIO.render(dom"div"(innerHTML=plt_html)) + return WebIO.render(WebIO.dom"div"(innerHTML=plt_html)) end end