From 45e97e4535e49f44a9392c01f57a21bc16391a78 Mon Sep 17 00:00:00 2001 From: Giorgio Calderone Date: Sun, 19 Apr 2020 10:48:02 +0200 Subject: [PATCH] Minor changes --- src/Gnuplot.jl | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Gnuplot.jl b/src/Gnuplot.jl index bb6e9ab..80b11b4 100644 --- a/src/Gnuplot.jl +++ b/src/Gnuplot.jl @@ -1513,7 +1513,6 @@ Base.show(gp::SessionID) = nothing Base.show(io::IO, gp::SessionID) = nothing function Base.show(io::IO, ::MIME"image/svg+xml", gp::SessionID) if gp.dump && enableExportThroughShow() - println("SVG") tmpfile = tempname()*".svg" save(gp.sid; term=options.term_svg, output=tmpfile) write(io, read(tmpfile)) @@ -1523,7 +1522,6 @@ function Base.show(io::IO, ::MIME"image/svg+xml", gp::SessionID) end function Base.show(io::IO, ::MIME"image/png", gp::SessionID) if gp.dump && enableExportThroughShow() - println("PNG") tmpfile = tempname()*".png" save(gp.sid; term=options.term_png, output=tmpfile) write(io, read(tmpfile))