znstrider / plottable

most pretty & lovely tables with matplotlib
MIT License
258 stars 13 forks source link

hope a feature that highlights negative values in red in the future #8

Open earlzhang opened 12 months ago

earlzhang commented 12 months ago

Plottable is a Python library that I have had a great experience using, and I have a specific request for its development. When creating tables, I would like for negative values to automatically be marked in red. While this is easily accomplished in pandas, I am unsure of how to achieve this in Plottable. It seems like it might be possible through customizing cmap, but that could require complex customization. I wonder if there will be a more convenient way to implement this in the future, perhaps through the addition of something like plot_fn.