Skip to content

Commit b1c8c7c

Browse files
committed
Try no mime argument
1 parent 07da481 commit b1c8c7c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/onehot.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ function _show_elements(x::OneHotArray)
2525
return xrepr
2626
end
2727

28-
function Base.show(io::IO, ::MIME"text/plain", x::OneHotArray{<:Any, L, <:Any, N, I}) where {L, N, I}
28+
function Base.show(io::IO, x::OneHotArray{<:Any, L, <:Any, N, I}) where {L, N, I}
2929
join(io, string.(size(x)), "×")
3030
print(io, " Flux.OneHotArray{")
3131
join(io, string.([L, N, I]), ",")
3232
println(io, "}:")
3333
print(io, _show_elements(x))
3434
end
35-
function Base.show(io::IO, ::MIME"text/plain", x::OneHotVector{T, L}) where {T, L}
35+
function Base.show(io::IO, x::OneHotVector{T, L}) where {T, L}
3636
print(io, string.(length(x)))
3737
print(io, "-element Flux.OneHotVector{")
3838
join(io, string.([L, T]), ",")

0 commit comments

Comments
 (0)