Merge pull request #3178 from jks-liu/pr_extra_mime_only_html
Set extra mime only when HTML format
This commit is contained in:
commit
882bb1b517
@ -54,9 +54,9 @@ function _ijulia_display_dict(plt::Plot)
|
|||||||
elseif output_type == :html
|
elseif output_type == :html
|
||||||
mime = "text/html"
|
mime = "text/html"
|
||||||
out[mime] = sprint(show, MIME(mime), plt)
|
out[mime] = sprint(show, MIME(mime), plt)
|
||||||
|
_ijulia__extra_mime_info!(plt, out)
|
||||||
else
|
else
|
||||||
error("Unsupported output type $output_type")
|
error("Unsupported output type $output_type")
|
||||||
end
|
end
|
||||||
_ijulia__extra_mime_info!(plt, out)
|
|
||||||
out
|
out
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user