prettier function definition

This commit is contained in:
Sebastian Pfitzner 2019-09-16 13:09:01 +02:00
parent 1da4b2eda9
commit 871561afd7

View File

@ -260,8 +260,6 @@ function _showjuno(io::IO, m::MIME"image/svg+xml", plt)
end
end
function Base.showable(m::MIME"application/prs.juno.plotpane+html", plt::P) where P <: Plot
return showable(MIME("text/html"), plt)
end
Base.showable(::MIME"application/prs.juno.plotpane+html", plt::Plot) = showable(MIME"text/html"(), plt)
_showjuno(io::IO, m, plt) = _show(io, m, plt)