-
-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
I'm not sure if this is a bug or intended.
I want to display a table with a boxed border but no header.
Table(data; box=:ROUNDED, show_header=false) omits the top border line.
Is there any way to draw the top border of the box?
julia> data = reshape(1:12, 3, 4)
3×4 reshape(::UnitRange{Int64}, 3, 4) with eltype Int64:
1 4 7 10
2 5 8 11
3 6 9 12
julia> Table(data; box=:ROUNDED)
╭───────────┬───────────┬───────────┬───────────╮
│ Column1 │ Column2 │ Column3 │ Column4 │
├───────────┼───────────┼───────────┼───────────┤
│ 1 │ 4 │ 7 │ 10 │
├───────────┼───────────┼───────────┼───────────┤
│ 2 │ 5 │ 8 │ 11 │
├───────────┼───────────┼───────────┼───────────┤
│ 3 │ 6 │ 9 │ 12 │
╰───────────┴───────────┴───────────┴───────────╯
julia> Table(data; box=:ROUNDED, show_header=false)
│ 1 │ 4 │ 7 │ 10 │
├─────┼─────┼─────┼──────┤
│ 2 │ 5 │ 8 │ 11 │
├─────┼─────┼─────┼──────┤
│ 3 │ 6 │ 9 │ 12 │
╰─────┴─────┴─────┴──────╯
Metadata
Metadata
Assignees
Labels
No labels