From 56c0112d962662930c0c8cd1106b10275cebf3f5 Mon Sep 17 00:00:00 2001 From: Julien Jerphanion Date: Sat, 26 Oct 2019 00:10:30 +0200 Subject: [PATCH] Update MIME type for show (#1322) * Update MIME type for show * Update with union or both previous and new MIME type --- src/Gadfly.jl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Gadfly.jl b/src/Gadfly.jl index b517bc2af..c97c633c4 100755 --- a/src/Gadfly.jl +++ b/src/Gadfly.jl @@ -956,7 +956,8 @@ function show(io::IO, m::MIME"image/svg+xml", p::Plot) show(io, m, svg) end -function show(io::IO, m::MIME"application/juno+plotpane", p::Plot) +function show(io::IO,m::Union{MIME"application/juno+plotpane", + MIME"application/prs.juno.plotpane+html"}, p::Plot) buf = IOBuffer() svg = SVGJS(buf, Compose.default_graphic_width, Compose.default_graphic_height, false)