add build.jl

This commit is contained in:
Thomas Breloff 2016-06-09 12:08:36 -04:00
parent 45a1ed69d4
commit 2a3029edb4
2 changed files with 10 additions and 2 deletions

8
deps/build.jl vendored Normal file
View File

@ -0,0 +1,8 @@
#TODO: download https://cdn.plot.ly/plotly-latest.min.js to deps/ if it doesn't exist
local_fn = joinpath(dirname(@__FILE__), "plotly-latest.min.js")
if !isfile(local_fn)
info("Cannot find deps/plotly-latest.min.js... downloading latest version.")
download("https://cdn.plot.ly/plotly-latest.min.js", local_fn)
end

View File

@ -1201,9 +1201,9 @@ function _display(plt::Plot{PyPlotBackend})
# display(plt.o)
# end
# PyPlot.ion()
PyPlot.pygui(false)
# PyPlot.pygui(false)
plt.o[:show]()
PyPlot.pygui(true)
# PyPlot.pygui(true)
# PyPlot.ioff()
end