slightly nicer method error
This commit is contained in:
parent
05b55fa8dc
commit
ec8084823c
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user