-
Notifications
You must be signed in to change notification settings - Fork 67
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
Added font colour selection for dataframe comparison #68
base: main
Are you sure you want to change the base?
Conversation
@MrPowers - please let me know if this meets the requirements |
Once this is merged, I'll work on the refactor ticket |
Just bumping @MrPowers |
any movement on this one @MrPowers? This will be a really good addition beyond the original issue as will very useful for accessibility reasons too. |
This is great, thanks for the contribution. From a user perspective, I think they'll want to set the colors globally and not have to set this manually for every test. Setting We have a few things we're tracking now:
The I am going to have to think about this one some more. We should give the user good defaults, a reasonable mechanism to set global overrides, and the flexibility to set test-level settings. |
Created an issue to discuss this at a higher level: #75 |
Description
Added an option to provide a color scheme for font when comparing dataframes. Example:
Usage:
The default color scheme (if none provided):
List of available colors in the bcolors class.
In addition, I've added two checks to validate the color scheme dict:
bcolors
classFixes #66
Type of change
How Has This Been Tested?
poetry run pytest tests
)