From ce6a982f8b2a9a470de8e85dfd6111041be46e8e Mon Sep 17 00:00:00 2001 From: Shashi Gowda Date: Fri, 23 Sep 2016 00:45:02 +0530 Subject: [PATCH] mimewritable should be true only if the original object supports it. --- src/output.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/output.jl b/src/output.jl index 40070b0b..d5ba5920 100644 --- a/src/output.jl +++ b/src/output.jl @@ -172,6 +172,7 @@ for mime in keys(_mimeformats) end end +Base.mimewritable{B}(m::MIME, plt::Plot{B}) = mimewritable(m, plt.o) # --------------------------------------------------------- # A backup, if no PNG generation is defined, is to try to make a PDF and use FileIO to convert