posit-dev / great-tables

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

Update docs and code to support `GoogleFont` in `opt_table_font()` and add tests #470

Closed jrycw closed 1 month ago

jrycw commented 1 month ago

This PR updates the documentation to mention that the font parameter of opt_table_font() now accepts a GoogleFont object. It also consolidates the internal code and introduces additional tests.

codecov[bot] commented 1 month ago

Codecov Report

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

Project coverage is 87.58%. Comparing base (cec3e8d) to head (d6d346a). Report is 20 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #470 +/- ## ========================================== + Coverage 87.54% 87.58% +0.04% ========================================== Files 42 42 Lines 4840 4842 +2 ========================================== + Hits 4237 4241 +4 + Misses 603 601 -2 ```

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