From d9f881d9fc3084faef68325f2251d58ca6b2a397 Mon Sep 17 00:00:00 2001 From: Spencer Lyon Date: Wed, 26 Oct 2016 23:49:40 -0400 Subject: [PATCH] Enabled support for JupyterPlot in nteract --- src/PlotlyJS.jl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/PlotlyJS.jl b/src/PlotlyJS.jl index ec7e5b1c..4925d8bf 100644 --- a/src/PlotlyJS.jl +++ b/src/PlotlyJS.jl @@ -123,7 +123,8 @@ function __init__() Dict() else p.view.displayed = true - Dict("text/html" => html_body(p)) + Dict("text/html" => html_body(p), + "application/vnd.plotly.v1+json" => json(p)) end end