From 10e2401d508def06723a7bd853d0ad8f88fcd3da Mon Sep 17 00:00:00 2001 From: Fons van der Plas Date: Tue, 18 May 2021 20:59:35 +0200 Subject: [PATCH] Minor cleanup plotlyjs --- src/backends/plotly.jl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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