Merge remote-tracking branch 'tbreloff/master'
This commit is contained in:
commit
4ab51d4bfa
@ -1,3 +1,4 @@
|
|||||||
|
__precompile__(false)
|
||||||
|
|
||||||
module Plots
|
module Plots
|
||||||
|
|
||||||
|
|||||||
@ -86,8 +86,8 @@ end
|
|||||||
# ----------------------------------------------------------------
|
# ----------------------------------------------------------------
|
||||||
|
|
||||||
function _show(io::IO, ::MIME"image/svg+xml", plt::Plot{PlotlyJSBackend})
|
function _show(io::IO, ::MIME"image/svg+xml", plt::Plot{PlotlyJSBackend})
|
||||||
if Plots.isijulia()
|
if isijulia() && !_use_remote[]
|
||||||
print(io, PlotlyJS.html_body(plt.o))
|
write(io, PlotlyJS.html_body(PlotlyJS.JupyterPlot(plt.o)))
|
||||||
else
|
else
|
||||||
show(io, MIME("text/html"), plt.o)
|
show(io, MIME("text/html"), plt.o)
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user