great-tables icon indicating copy to clipboard operation
great-tables copied to clipboard

Alpha value gets hidden by `data_color()`

Open juleswg23 opened this issue 5 months ago • 2 comments

The following call to data_color() sets alpha = 0.2, but the outcome is identical to setting alpha = 1.

from great_tables import GT, exibble

exibble_sm = exibble[["num", "fctr", "row", "group", "currency"]]
GT(exibble_sm).data_color(columns="row", alpha=0.2)
Image
GT(exibble_sm).data_color(columns="row", alpha=1)
Image

juleswg23 avatar Jun 17 '25 15:06 juleswg23