From f964ed75a7332931e2a2ae4287b840ad0ef54a6c Mon Sep 17 00:00:00 2001 From: Marius Millea Date: Wed, 11 Dec 2024 12:00:40 -0800 Subject: [PATCH] fix accidental Base.show type piracy --- src/PlotlyLight.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PlotlyLight.jl b/src/PlotlyLight.jl index 95682fe..bb2f235 100644 --- a/src/PlotlyLight.jl +++ b/src/PlotlyLight.jl @@ -155,7 +155,7 @@ function Base.show(io::IO, ::MIME"text/html", o::Plot) show(io, MIME("text/html"), html_iframe(o)) : show(io, MIME("text/html"), html_div(o)) end -Base.show(io::IO, ::MIME"juliavscode/html", o) = show(io, MIME("text/html"), o) +Base.show(io::IO, ::MIME"juliavscode/html", o::Plot) = show(io, MIME("text/html"), o) Base.display(::REPLDisplay, o::Plot) = Cobweb.preview(html_page(o), reuse=settings.reuse_preview)