You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You are overloading display in order to customize output. This is the wrong way to do it — see the manual on custom pretty printing.
To customize REPL output, you should override Base.show(io::IO, x::MyType) and/or Base.show(io::IO, ::MIME"text/plain", x::MyType), as explained in the manual.
Overriding display directly will break IJulia, Juno, and other environments that have a custom display mechanism.
The text was updated successfully, but these errors were encountered:
You are overloading
display
in order to customize output. This is the wrong way to do it — see the manual on custom pretty printing.To customize REPL output, you should override
Base.show(io::IO, x::MyType)
and/orBase.show(io::IO, ::MIME"text/plain", x::MyType)
, as explained in the manual.Overriding
display
directly will break IJulia, Juno, and other environments that have a customdisplay
mechanism.The text was updated successfully, but these errors were encountered: