From dc9a0441415c615b3e0cfde98b9eac32e90a0a1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Asbj=C3=B8rn=20Nilsen=20Riseth?= Date: Tue, 12 Sep 2017 16:08:32 +0100 Subject: [PATCH] Use show instead of writemime for eps --- src/output.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/output.jl b/src/output.jl index 41cc9d0c..f26b6720 100644 --- a/src/output.jl +++ b/src/output.jl @@ -39,7 +39,7 @@ ps(fn::AbstractString) = ps(current(), fn) function eps(plt::Plot, fn::AbstractString) fn = addExtension(fn, "eps") io = open(fn, "w") - writemime(io, MIME("image/eps"), plt) + show(io, MIME("image/eps"), plt) close(io) end eps(fn::AbstractString) = eps(current(), fn)