docs for showcompact
and array printing
#14575
Labels
docs
This change adds or pertains to documentation
showcompact
and array printing
#14575
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: