- Have centralized singleton for managing color schemes and categorical color 
scale. 
- Separate logic for forcing colors for certain value and getting colors
- Create color scale class that can be passed around instead of calling 
`getColorFromScheme` which requires both `value` and `colorScheme` every time. 

[ Full content available at: 
https://github.com/apache/incubator-superset/pull/5815 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to