-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
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
docs for showcompact
and array printing
#14575
Labels
domain:docs
This change adds or pertains to documentation
Comments
also, I'm happy to either update the docs or the implementation once I know what the right direction is, and if it's not about to be imminently clobbered. |
The help for |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The current docs for
showcompact
say:In
print_matrix_repr
, compactness is determined byarray_eltype_show_how(X)
, which ends up only being compact ifisleaftype(T) && (T<:Number || T<:AbstractString)
I wanted to clarify expected behavior. I came across this because I'm defining a non-numeric type that I want to display more compactly when in a vector, and initially thought I could just define
showcompact
.Given #14052 this may soon become a moot point, so feel free to say so and close if it's not worth worrying about.
EDIT: I just realized that
showcompact
is used bywritemime
when displaying to the REPL, so I'm guessing that's what the note in the docstring is referring to.The text was updated successfully, but these errors were encountered: