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

Add ability for data_color to color cells row-wise instead of column-wise #601

Open
ryantaylor406 opened this issue Feb 5, 2025 · 0 comments

Comments

@ryantaylor406
Copy link

Proposal

Currently, the data_color function can only colorize data based on column values. On the R GT package, they have a direction argument:

direction
Color computation direction
singl-kw:[column|row] // default: "column"
Should the color computations be performed column-wise or row-wise? By default this is set with the "column" keyword and colors will be applied down columns. The alternative option with the "row" keyword ensures that the color mapping works across rows.

It would be very useful to have this functionality to color cells based on row values.

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

1 participant