# Dash-table: Graded Color Scale (conditional formatting) slow

**URL:** https://community.plotly.com/t/dash-table-graded-color-scale-conditional-formatting-slow/29448
**Category:** Dash Python
**Created:** [October 1, 2019, 9:45am UTC](https://community.plotly.com/t/dash-table-graded-color-scale-conditional-formatting-slow/29448 "2019-10-01T09:45:40Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![Emmanuelle](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/emmanuelle/32/7853_2.png) [@Emmanuelle](https://community.plotly.com/u/Emmanuelle)
#### Post date: [October 3, 2019, 9:14pm UTC](https://community.plotly.com/t/dash-table-graded-color-scale-conditional-formatting-slow/29448/4 "2019-10-03T21:14:10Z")

</div>

Thank you for sharing this code @bjonen, it makes it much easier to test what’s going on, So what happens if that for each cell you have a very large number of queries to run (10000 I think), which is why it takes such a long time (on my laptop it took about one minute for the app to load). What you would like here I think is a gradient, that is a mapping between cell values and another property (background color): This would be only one simple operation per cell, so much faster. It is a feature that we’re interested in implementing here at plotly, but it’s likely that we’ll need to find first a sponsor interested in funding this development ([https://plot.ly/products/consulting-and-oem/](https://plot.ly/products/consulting-and-oem/)). So please stay tuned…

---

_[View the full topic](https://community.plotly.com/t/dash-table-graded-color-scale-conditional-formatting-slow/29448)._
