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

Dispatch issue with `set_style` for `LocTitle` #304

Open jrycw opened 2 months ago

jrycw commented 2 months ago

It seems that the dispatch of set_style for LocTitle is still under development and hasn't been made public yet. However, the implementation seems a bit off because return data._styles.append(info) will return None, which behaves differently compared to other functions in the same module.

https://github.com/posit-dev/great-tables/blob/14ce2c53753203b9d01034d89b5ed12706726711/great_tables/_locations.py#L402