commit
84eead47e3
@ -417,6 +417,8 @@ const _plotly_marker = [
|
|||||||
]
|
]
|
||||||
const _plotly_scale = [:identity, :log10]
|
const _plotly_scale = [:identity, :log10]
|
||||||
|
|
||||||
|
defaultOutputFormat(plt::Plot{Plots.PlotlyBackend}) = "html"
|
||||||
|
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
# pgfplots
|
# pgfplots
|
||||||
|
|
||||||
|
|||||||
@ -55,9 +55,7 @@ tex(fn::AbstractString) = tex(current(), fn)
|
|||||||
function html(plt::Plot, fn::AbstractString)
|
function html(plt::Plot, fn::AbstractString)
|
||||||
fn = addExtension(fn, "html")
|
fn = addExtension(fn, "html")
|
||||||
io = open(fn, "w")
|
io = open(fn, "w")
|
||||||
_use_remote[] = true
|
|
||||||
show(io, MIME("text/html"), plt)
|
show(io, MIME("text/html"), plt)
|
||||||
_use_remote[] = false
|
|
||||||
close(io)
|
close(io)
|
||||||
end
|
end
|
||||||
html(fn::AbstractString) = html(current(), fn)
|
html(fn::AbstractString) = html(current(), fn)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user