Merge pull request #1577 from JuliaPlots/pv/webio
WebIO integration for PlotlyJS backend
This commit is contained in:
commit
7f4537bdc6
@ -120,6 +120,12 @@ function _display(plt::Plot{PlotlyJSBackend})
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@require WebIO begin
|
||||||
|
function WebIO.render(plt::Plot{PlotlyJSBackend})
|
||||||
|
prepare_output(plt)
|
||||||
|
WebIO.render(plt.o)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
function closeall(::PlotlyJSBackend)
|
function closeall(::PlotlyJSBackend)
|
||||||
if !isplotnull() && isa(current().o, PlotlyJS.SyncPlot)
|
if !isplotnull() && isa(current().o, PlotlyJS.SyncPlot)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user