Remove SVG support, which is not there
plotly backend does not support SVG output. What it shows is the HTML output of Plotly backend. This commit makes the request for SVG output to return an error as in PNG.
This commit is contained in:
parent
9acb89ba8a
commit
e30f4652af
@ -908,7 +908,7 @@ function _show(io::IO, ::MIME"image/png", plt::Plot{PlotlyBackend})
|
||||
end
|
||||
|
||||
function _show(io::IO, ::MIME"image/svg+xml", plt::Plot{PlotlyBackend})
|
||||
write(io, html_head(plt) * html_body(plt))
|
||||
error("svg output from the plotly backend is not supported. Please use plotlyjs instead.")
|
||||
end
|
||||
|
||||
function Base.show(io::IO, ::MIME"text/html", plt::Plot{PlotlyBackend})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user