Merge b72f43214b6573fe7fac89da1f23f231aafbb486 into 5176ab13824635d2ccba9bd228f5456d51b08237

This commit is contained in:
Michael Krabbe Borregaard 2018-08-09 15:49:26 +00:00 committed by GitHub
commit 7d85a4254a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -185,8 +185,8 @@ function _show(io::IO, ::MIME"text/html", plt::Plot)
end end
end end
# delegate mimewritable (showable on julia 0.7) to _show instead # delegate showable to _show instead
function Base.mimewritable(m::M, plt::P) where {M<:MIME, P<:Plot} function Base.showable(m::M, plt::P) where {M<:MIME, P<:Plot}
return hasmethod(_show, Tuple{IO, M, P}) return hasmethod(_show, Tuple{IO, M, P})
end end