added writemime methods for plotly_blink

This commit is contained in:
Spencer Lyon 2016-01-11 16:59:56 -07:00
parent bce865ff9f
commit 863ad22b48

View File

@ -44,5 +44,10 @@ function Base.display(::PlotsDisplay, plt::Plot{PlotlyPackage})
end
function Base.display(::PlotsDisplay, plt::Subplot{PlotlyPackage})
error()
error()
end
for (mime, fmt) in PlotlyJS._mimeformats
@eval Base.writemime(io::IO, m::MIME{symbol($mime)}, p::Plot{PlotlyPackage}) =
writemime(io, m, p.o)
end