We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
You are overloading display in order to customize output. This is the wrong way to do it — see the manual on custom pretty printing.
display
Instead, to customize REPL output, you should override Base.show(io::IO, ::MIME"text/plain", x::MyType), as explained in the manual.
Base.show(io::IO, ::MIME"text/plain", x::MyType)
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:
No branches or pull requests
You are overloading
display
in order to customize output. This is the wrong way to do it — see the manual on custom pretty printing.Instead, to customize REPL output, you should override
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 customdisplay
mechanism.The text was updated successfully, but these errors were encountered: