add build.jl
This commit is contained in:
parent
45a1ed69d4
commit
2a3029edb4
8
deps/build.jl
vendored
Normal file
8
deps/build.jl
vendored
Normal 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
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user