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 locations specified in single tab_style called, only the last is applied #85

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

Comments

@machow
Copy link
Collaborator

machow commented Dec 13, 2023

It looks like when tab_style gets a list of locations, only the last is applied to the data

from great_tables import GT
from great_tables.data import airquality

gt_air = GT(airquality.head())
gt_air.tab_style(
    style.fill("yellow"),
    [loc.body("Temp", [1, 2]), loc.body("Ozone", [0])]
)
image
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