From 4b0d69b6a4e25becb8facebc02fb1a992f984c09 Mon Sep 17 00:00:00 2001 From: Jks Liu Date: Fri, 4 Dec 2020 23:41:36 +0800 Subject: [PATCH] Set extra mine only when HTML format Extra mine is not used by other format --- src/ijulia.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ijulia.jl b/src/ijulia.jl index 13fc3b2e..7d2786ee 100644 --- a/src/ijulia.jl +++ b/src/ijulia.jl @@ -54,9 +54,9 @@ function _ijulia_display_dict(plt::Plot) elseif output_type == :html mime = "text/html" out[mime] = sprint(show, MIME(mime), plt) + _ijulia__extra_mime_info!(plt, out) else error("Unsupported output type $output_type") end - _ijulia__extra_mime_info!(plt, out) out end