Merge pull request #1471 from hycakir/master

Remove SVG support for plotly, which is not there
This commit is contained in:
Daniel Schwabeneder 2018-04-06 18:50:36 +02:00 committed by GitHub
commit cef0882e80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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})