posit-dev / great-tables

Make awesome display tables using Python.
https://posit-dev.github.io/great-tables/
MIT License
1.43k stars 48 forks source link

Update `_data_color` #294

Closed jrycw closed 2 months ago

jrycw commented 2 months ago

Hello team, I've attempted to simplify the logic in this PR for _data_color. I've updated the code according to my coding preferences, but please feel free to reject or modify the code based on your judgement.

codecov-commenter commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 81.70%. Comparing base (14ce2c5) to head (595a299).

:exclamation: Current head 595a299 differs from pull request most recent head b2b3712. Consider uploading reports for the commit b2b3712 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #294 +/- ## ========================================== - Coverage 81.71% 81.70% -0.02% ========================================== Files 41 41 Lines 4321 4313 -8 ========================================== - Hits 3531 3524 -7 + Misses 790 789 -1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.