From c0e50588d301ea6cc87beb5b2a35a89e0b07784a Mon Sep 17 00:00:00 2001 From: Fons van der Plas Date: Wed, 19 May 2021 08:28:03 +0200 Subject: [PATCH] Minor cleanup plotlyjs (#3510) --- 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 a5381ee9..ab40f7a8 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