Skip to content

Commit 2be6682

Browse files
committed
upgrade to prettytables 3
1 parent 150e69d commit 2be6682

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "SequentialSamplingModels"
22
uuid = "0e71a2a6-2b30-4447-8742-d083a85e82d1"
33
authors = ["itsdfish"]
4-
version = "0.13.0"
4+
version = "0.13.1"
55

66
[deps]
77
ArgCheck = "dce04be8-c92d-5529-be00-80e4d2c0e197"
@@ -34,7 +34,7 @@ Interpolations = "0.14.0,0.15.0,0.16.0"
3434
KernelDensity = "0.6.5"
3535
LinearAlgebra = "1"
3636
Plots = "1.0.0"
37-
PrettyTables = "2.0"
37+
PrettyTables = "3.0"
3838
Random = "1"
3939
SpecialFunctions = "1,2"
4040
Statistics = "1"

src/utilities.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ function _show(io::IO, model)
1919
io,
2020
values;
2121
title = model_name,
22-
row_label_column_title = "Parameter",
22+
column_labels = ["Value"],
23+
stubhead_label = "Parameter",
2324
compact_printing = false,
24-
header = ["Value"],
25-
row_label_alignment = :l,
25+
row_label_column_alignment = :l,
2626
row_labels = [fieldnames(typeof(model))...],
27-
formatters = ft_printf("%5.2f"),
27+
formatters = [fmt__printf("%5.2f", [2,])],
2828
alignment = :l
2929
)
3030
end

0 commit comments

Comments
 (0)