Use show instead of writemime for eps

This commit is contained in:
Asbjørn Nilsen Riseth 2017-09-12 16:08:32 +01:00
parent da5a538f89
commit dc9a044141

View File

@ -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)