Merge pull request #1086 from anriseth/writemimefix

Use show instead of writemime for eps
This commit is contained in:
Michael Krabbe Borregaard 2017-09-13 00:09:14 +02:00 committed by GitHub
commit 233b0d0de2

View File

@ -39,7 +39,7 @@ ps(fn::AbstractString) = ps(current(), fn)
function eps(plt::Plot, fn::AbstractString) function eps(plt::Plot, fn::AbstractString)
fn = addExtension(fn, "eps") fn = addExtension(fn, "eps")
io = open(fn, "w") io = open(fn, "w")
writemime(io, MIME("image/eps"), plt) show(io, MIME("image/eps"), plt)
close(io) close(io)
end end
eps(fn::AbstractString) = eps(current(), fn) eps(fn::AbstractString) = eps(current(), fn)