From 9a445d529dd1069878e8ebfe48ef1c547c4bb3e8 Mon Sep 17 00:00:00 2001 From: Fredrik Ekre Date: Fri, 17 May 2019 10:41:01 +0200 Subject: [PATCH] Make sure show return nothing. --- src/animation.jl | 1 + src/output.jl | 1 + 2 files changed, 2 insertions(+) diff --git a/src/animation.jl b/src/animation.jl index 4f9ff6da..f4db54be 100644 --- a/src/animation.jl +++ b/src/animation.jl @@ -103,6 +103,7 @@ function Base.show(io::IO, ::MIME"text/html", agif::AnimatedGif) else error("Cannot show animation with extension $ext: $agif") end) + return nothing end diff --git a/src/output.jl b/src/output.jl index 27c7731e..95a9c158 100644 --- a/src/output.jl +++ b/src/output.jl @@ -197,6 +197,7 @@ for mime in ("text/plain", "text/html", "image/png", "image/eps", "image/svg+xml prepare_output(plt) _show(io, m, plt) end + return nothing end end