From 46ad076751e93ffe56c575bdcc9348574227777c Mon Sep 17 00:00:00 2001 From: Pablo Zubieta Date: Tue, 6 Dec 2016 22:35:25 -0600 Subject: [PATCH 1/2] Proper id synchronization of plotlyjs plots --- src/backends/plotlyjs.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backends/plotlyjs.jl b/src/backends/plotlyjs.jl index 3f02d7b1..6d4ad145 100644 --- a/src/backends/plotlyjs.jl +++ b/src/backends/plotlyjs.jl @@ -86,8 +86,8 @@ end # ---------------------------------------------------------------- function _show(io::IO, ::MIME"image/svg+xml", plt::Plot{PlotlyJSBackend}) - if Plots.isijulia() - print(io, PlotlyJS.html_body(plt.o)) + if isijulia() && !_use_remote[] + write(io, PlotlyJS.html_body(PlotlyJS.JupyterPlot(plt.o))) else show(io, MIME("text/html"), plt.o) end From 8f60a4df8d81024c387b2497bf76e3c1e4a8adea Mon Sep 17 00:00:00 2001 From: Christopher Rackauckas Date: Mon, 19 Dec 2016 14:49:44 -0800 Subject: [PATCH 2/2] Fix precompile disable --- src/Plots.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Plots.jl b/src/Plots.jl index 9b4bcb10..3515e75b 100644 --- a/src/Plots.jl +++ b/src/Plots.jl @@ -1,3 +1,4 @@ +__precompile__(false) module Plots