diff --git a/src/display.jl b/src/display.jl index 1d0ad0748..f31ceaafc 100644 --- a/src/display.jl +++ b/src/display.jl @@ -100,6 +100,9 @@ end # printing mechanism +Base.show(io::IO, a::Union{BareInterval,Interval,Complex{<:Interval}}) = + print(io, _str_repr(a, display_options.format)) + Base.show(io::IO, ::MIME"text/plain", a::Union{BareInterval,Interval,Complex{<:Interval}}) = print(io, _str_repr(a, display_options.format))