Skip to content

Commit

Permalink
More fixes to show
Browse files Browse the repository at this point in the history
  • Loading branch information
juliohm committed Sep 5, 2023
1 parent 937528a commit 8aa0da7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/abstractgeotable.jl
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,7 @@ Base.show(io::IO, geotable::AbstractGeoTable) = summary(io, geotable)
function Base.show(io::IO, ::MIME"text/plain", geotable::AbstractGeoTable)
pretty_table(io, geotable; backend=Val(:text),
_common_kwargs(geotable)...,
header_crayon=crayon"bold (0,128,128)",
newline_at_end=false
)
end
Expand Down Expand Up @@ -390,7 +391,7 @@ function _common_kwargs(geotable)
(
title=summary(geotable),
header=(colnames, types, units),
vcrop_mode=:middle, max_num_of_rows=20,
header_crayon=crayon"bold (0,128,128)"
max_num_of_rows=20,
vcrop_mode=:middle,
)
end

0 comments on commit 8aa0da7

Please sign in to comment.