From 2a3029edb4d3e306148a383de2a92de198c256ba Mon Sep 17 00:00:00 2001 From: Thomas Breloff Date: Thu, 9 Jun 2016 12:08:36 -0400 Subject: [PATCH] add build.jl --- deps/build.jl | 8 ++++++++ src/backends/pyplot.jl | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 deps/build.jl diff --git a/deps/build.jl b/deps/build.jl new file mode 100644 index 00000000..2fef2af8 --- /dev/null +++ b/deps/build.jl @@ -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 diff --git a/src/backends/pyplot.jl b/src/backends/pyplot.jl index 30c58cc2..c2ab93c9 100644 --- a/src/backends/pyplot.jl +++ b/src/backends/pyplot.jl @@ -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