Repository navigation
3.5.3
Fixed
- Index labels with a
row_filter(orsort_by) and hidden empty rows
(show_empty_rows=False): the visible rows are numbered 0, 1, 2 as
without a filter, instead of 0, 2, 4 (the hidden empty rows used to take
a number).to_records,to_csv,paginateandstreamagree. stream()index column is as wide as incompose()when rows are
hidden byrow_filterorshow_empty_rows=False: it was sized for every
row, so the streamed table came out one column wider.- Contrast checks (
parse_color,contrast_ratio,Theme.contrast())
understand every colour the core draws:colour:N, hex without#
(ff8800), andgreyNNas the xterm grey really shown. A theme using
colour:Nreported no ratio, or 1:1 forblack on colour:226. - Colour tokens with non-ASCII digits (
'²','٣') raise
ColourErrorlike any unknown colour, instead of a bareValueErroror
being read as a palette index.
Changed
- Hiding empty rows no longer re-scans every row once per row while
numbering the index (quadratic in the row count).
PR #80.