rename mimewritable

This commit is contained in:
Michael Krabbe Borregaard 2018-08-09 16:49:03 +01:00
parent 5205ac38ad
commit c544dbbbb7

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