We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is it possible to add styling in the stub? I can style a regular column like this:
from great_tables import GT, md, html, style, loc from great_tables.data import islands islands_mini = islands.head(5) ( GT(islands_mini) .tab_stub(rowname_col="name") .tab_style( style=style.fill('lightgray'), locations=loc.body(columns=['size']) ) )
But how could I style the stub group (i.e. make the geographical names colored)?
The text was updated successfully, but these errors were encountered:
@dafriedman97, maybe try using tab_options:
tab_options
from great_tables import GT, loc, style from great_tables.data import islands islands_mini = islands.head(5) ( GT(islands_mini) .tab_stub(rowname_col="name") .tab_style(style=style.fill("lightgray"), locations=loc.body(columns=["size"])) .tab_options(stub_background_color="lightgreen") )
Sorry, something went wrong.
No branches or pull requests
Is it possible to add styling in the stub? I can style a regular column like this:
But how could I style the stub group (i.e. make the geographical names colored)?
The text was updated successfully, but these errors were encountered: