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

@ -46,3 +46,8 @@ end
function Base.display(::PlotsDisplay, plt::Subplot{PlotlyPackage}) function Base.display(::PlotsDisplay, plt::Subplot{PlotlyPackage})
error() error()
end 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