Skip to content

Commit

Permalink
Update src/abstractdataframe/show.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Milan Bouchet-Valat <nalimilan@club.fr>
  • Loading branch information
bkamins and nalimilan committed Oct 13, 2020
1 parent 2cf6014 commit 8b40007
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/abstractdataframe/show.jl
Expand Up @@ -92,7 +92,7 @@ function compacttype(T::Type, maxwidth::Int=8, initial::Bool=true)
maxwidth -= 1 # we will add "…" at the end

# This is only type display shortening so we
# are OK with any T whose name starts with Categorical here
# are OK with any T whose name starts with CategoricalValue here
if startswith(sT, "CategoricalValue")
sT = string(nameof(T))
if textwidth(sT) maxwidth
Expand Down

0 comments on commit 8b40007

Please sign in to comment.