slightly nicer method error

This commit is contained in:
Sebastian Pfitzner 2018-09-26 17:45:51 +02:00
parent 05b55fa8dc
commit ec8084823c

View File

@ -278,7 +278,7 @@ end
function _showjuno(io::IO, m::MIME"image/svg+xml", plt) function _showjuno(io::IO, m::MIME"image/svg+xml", plt)
if Symbol(plt.attr[:html_output_format]) :svg if Symbol(plt.attr[:html_output_format]) :svg
throw(MethodError(show, (typeof(plt),))) throw(MethodError(show, (typeof(m), typeof(plt))))
else else
_show(io, m, plt) _show(io, m, plt)
end end