Skip to content

Commit

Permalink
Enabled support for JupyterPlot in nteract
Browse files Browse the repository at this point in the history
  • Loading branch information
sglyon committed Oct 27, 2016
1 parent 4bdb1f5 commit d9f881d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/PlotlyJS.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit d9f881d

Please sign in to comment.