Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when multiple styles specified in single tab_style call, only first is applied #84

Closed
machow opened this issue Dec 13, 2023 · 1 comment

Comments

@machow
Copy link
Collaborator

machow commented Dec 13, 2023

It appears that when multiple styles are specified in a tab_style call, only the first appears.

from great_tables import GT
from great_tables.data import airquality

gt_air = GT(airquality.head())

gt_air.tab_style(
    [style.fill("yellow"), style.borders(sides = "all")],
    loc.body("Temp", [1, 2])
)
image

Note that if you switch the styles in the list around, it seems like only the first appears.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants