From 901115ed103a67b2160794c09e04d73babb26f5e Mon Sep 17 00:00:00 2001 From: Thomas Breloff Date: Tue, 15 Mar 2016 13:16:14 -0400 Subject: [PATCH] working on plotly/interact fix --- src/backends/plotly.jl | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/src/backends/plotly.jl b/src/backends/plotly.jl index 583c2f8e..fafbe44c 100644 --- a/src/backends/plotly.jl +++ b/src/backends/plotly.jl @@ -12,14 +12,26 @@ function _initialize_backend(::PlotlyBackend; kw...) _js_code = open(readall, _js_path, "r") + # _js_script = """ + # + # + # """ + + # borrowed from https://github.com/plotly/plotly.py/blob/2594076e29584ede2d09f2aa40a8a195b3f3fc66/plotly/offline/offline.py#L64-L71 c/o @spencerlyon2 _js_script = """ - - - """ + """ # if we're in IJulia call setupnotebook to load js and css if isijulia()