Skip to content

Commit

Permalink
slightly nicer method error
Browse files Browse the repository at this point in the history
  • Loading branch information
pfitzseb committed Sep 26, 2018
1 parent 05b55fa commit ec80848
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/output.jl
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ end

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

0 comments on commit ec80848

Please sign in to comment.