Skip to content

Commit c0a4490

Browse files
committed
get rid of bold headings in display of schema
1 parent d19e97b commit c0a4490

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/schema.jl

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,11 @@ function _rows_schema(rows, sch::Tables.Schema{nothing, nothing})
244244
end
245245

246246
function Base.show(io::IO, ::MIME"text/plain", s::Schema)
247-
# data = Tables.matrix(s)
247+
# for getting rid of bold in table headings:
248+
style = PrettyTables.TextTableStyle(
249+
first_line_column_label = PrettyTables.crayon"black",
250+
)
251+
248252
column_labels = [["names", "scitypes", "types"],]
249-
pretty_table(io, s; column_labels, alignment=:l)
253+
pretty_table(io, s; column_labels, style, alignment=:l)
250254
end

0 commit comments

Comments
 (0)