correct local file parameter to file:///

This commit is contained in:
Helmut Haensel 2020-05-20 12:54:43 +02:00
parent 40cb13395d
commit 2722c70d30

View File

@ -810,7 +810,7 @@ html_body(plt::Plot{PlotlyBackend}) = plotly_html_body(plt)
const ijulia_initialized = Ref(false) const ijulia_initialized = Ref(false)
function plotly_html_head(plt::Plot) function plotly_html_head(plt::Plot)
local_file = ("file://" * plotly_local_file_path) local_file = ("file:///" * plotly_local_file_path)
plotly = plotly =
use_local_dependencies[] ? local_file : "https://cdn.plot.ly/plotly-latest.min.js" use_local_dependencies[] ? local_file : "https://cdn.plot.ly/plotly-latest.min.js"