posit-dev / great-tables

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

epic: Implement nano linechart #166

Closed machow closed 2 weeks ago

machow commented 7 months ago

https://gt.rstudio.com/reference/cols_nanoplot.html

machow commented 6 months ago

From pairing w/ @rich-iannone, let's make the nanoplot a formatter for now, and code it up similar to great_tables._formats.FmtImage. Basically, a dataclass with a to_html() method. That way, we can test it out, fit it in to our architecture, before rolling .cols_add().