Skip to content

Commit

Permalink
ENH: automatically download plotly.js if it is not available
Browse files Browse the repository at this point in the history
  • Loading branch information
sglyon committed Apr 28, 2017
1 parent eab25f8 commit 23ac07b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/PlotlyJS.jl
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,10 @@ function __init__()
# --------------------------------------------- #
# Code to run once when the notebook starts up! #
# --------------------------------------------- #
if !isfile(_js_path)
info("plotly.js javascript libary not found -- downloading now")
include(joinpath(dirname(_js_path), "build.jl"))
end

if _isijulia()

Expand Down

0 comments on commit 23ac07b

Please sign in to comment.