Skip to content

Commit bb36284

Browse files
authored
fix accidental Base.show type piracy (#52)
1 parent accb03d commit bb36284

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PlotlyLight.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ function Base.show(io::IO, ::MIME"text/html", o::Plot)
155155
show(io, MIME("text/html"), html_iframe(o)) :
156156
show(io, MIME("text/html"), html_div(o))
157157
end
158-
Base.show(io::IO, ::MIME"juliavscode/html", o) = show(io, MIME("text/html"), o)
158+
Base.show(io::IO, ::MIME"juliavscode/html", o::Plot) = show(io, MIME("text/html"), o)
159159

160160
Base.display(::REPLDisplay, o::Plot) = Cobweb.preview(html_page(o), reuse=settings.reuse_preview)
161161

0 commit comments

Comments
 (0)