Skip to content

Commit 5f76b93

Browse files
authored
update prettytables to version 2 (#97)
1 parent e3f37c4 commit 5f76b93

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ InvertedIndices = "1"
2727
IteratorInterfaceExtensions = "0.1.1, 1"
2828
Missings = "0.4.2, 1"
2929
PooledArrays = "1.2.1"
30-
PrettyTables = "0.12, 1, 2"
30+
PrettyTables = "2"
3131
Reexport = "0.1, 0.2, 1"
3232
TableTraits = "0.4, 1"
3333
Tables = "1.2"

src/abstractdataset/show.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -300,11 +300,11 @@ function _show(io::IO,
300300
highlighters = (_PRETTY_TABLES_HIGHLIGHTER,),
301301
maximum_columns_width = maximum_columns_width,
302302
newline_at_end = false,
303-
nosubheader = !eltypes,
304-
row_name_alignment = :r,
305-
row_name_crayon = Crayon(),
306-
row_name_column_title = string(rowlabel),
307-
row_names = row_names,
303+
show_subheader = eltypes,
304+
row_label_alignment = :r,
305+
row_label_crayon = Crayon(),
306+
row_label_column_title = string(rowlabel),
307+
row_labels = row_names,
308308
row_number_alignment = :r,
309309
row_number_column_title = string(rowlabel),
310310
show_row_number = show_row_number,

0 commit comments

Comments
 (0)