Closed shawalli closed 1 year ago
I tried to dig in to figure out where this was happening in the code, but I got a bit confused when trying to trace the writing code
Thank you for your feedback.
In the current implementation, no styles other than colors are applied to headers. In a future version, other styles might also be applicable to headers.
pytablewriter 1.2.0
or later can apply styles to headers by style filters.
It appears that the header row discards the
column_styles
value. I also tried forcing a style viaadd_style_filter
(see snippet below), but it was ignored. I ran into this onMarkdownTableWriter
, but based on the code, I think it affects the base text writer (and subclassed writers) as well.Expected Output:
Actual Output