Merge pull request #2031 from fredrikekre/fe/show-return

Make sure show return nothing.
This commit is contained in:
Daniel Schwabeneder 2019-05-17 12:46:17 +02:00 committed by GitHub
commit 0735a3475c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

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

View File

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