diff --git a/src/backends/plotly.jl b/src/backends/plotly.jl index a5381ee982..ab40f7a805 100644 --- a/src/backends/plotly.jl +++ b/src/backends/plotly.jl @@ -953,8 +953,7 @@ function plotly_html_body(plt, style = nothing)
""" @@ -963,7 +962,7 @@ end function js_body(plt::Plot, uuid) js = """ - PLOT = document.getElementById('$(uuid)'); + var PLOT = document.getElementById('$(uuid)'); Plotly.plot(PLOT, $(plotly_series_json(plt)), $(plotly_layout_json(plt))); """ end