Allow displaying svg format in Juno if :html_output_format is set to :auto
This commit is contained in:
parent
05fe220102
commit
c901c0caac
@ -250,7 +250,7 @@ function showjuno(io::IO, m, plt)
|
||||
end
|
||||
|
||||
function _showjuno(io::IO, m::MIME"image/svg+xml", plt)
|
||||
if Symbol(plt.attr[:html_output_format]) ≠ :svg
|
||||
if !(plt.attr[:html_output_format] in (:auto, :svg))
|
||||
throw(MethodError(show, (typeof(m), typeof(plt))))
|
||||
else
|
||||
_show(io, m, plt)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user