diff --git a/Project.toml b/Project.toml index acab442e..e1afdf01 100644 --- a/Project.toml +++ b/Project.toml @@ -42,7 +42,7 @@ ForwardDiff = "0.10.37, 1" LinearAlgebra = "1.10" Makie = "0.22, 0.23, 0.24" Optim = "1.6" -PrettyTables = "2.4" +PrettyTables = "3" QuadGK = "2.9.1" RecipesBase = "1.3" Reexport = "1" diff --git a/src/show.jl b/src/show.jl index 7ce1e006..7563f701 100644 --- a/src/show.jl +++ b/src/show.jl @@ -4,7 +4,7 @@ function Base.show(io::IO, mime::MIME"text/plain", interp::AbstractInterpolation print(io, get_show(interp)) header = ["time", get_names(interp.u)...] data = hcat(interp.t, get_data(interp.u)) - pretty_table(io, data; header = header, vcrop_mode = :middle) + pretty_table(io, data; column_labels = header, vertical_crop_mode = :middle) end function get_show(interp::AbstractInterpolation)