Closed touste closed 1 month ago
Hey, thanks for catching this. I plan to try reproducing and fixing this in a few days from now.
This should be fixed in #33 and in the newly released version 2.2.5.
Now the cell_color has the priority and will override the general row and column settings. Let me know if that solves it for you.
I confirm the issue is fixed in the new version, thanks!
On Tue, Sep 10, 2024 at 10:29 PM Szymon Mikler @.***> wrote:
This should be fixed in #33 https://github.com/sjmikler/progress-table/pull/33 and in the newly released version 2.2.5.
Now the cell_color has the priority and will override the general row and column settings. Let me know if that solves it for you.
— Reply to this email directly, view it on GitHub https://github.com/sjmikler/progress-table/issues/32#issuecomment-2341954802, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAWLXEANZDDAXPFWSVSBS2TZV5JENAVCNFSM6AAAAABNURNO3SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBRHE2TIOBQGI . You are receiving this because you authored the thread.Message ID: @.***>
When using the
cell_color
option inupdate
, then adding a new row, the color is reset to white (only the last row has the correct colors).I can force the correct behaviour by using
add_row(color=table._data_rows[-1].COLORS)
but this throws an error ifcell_color
was something like "bold green".