In st.deck_gl_chart, how to use “getColorR”, “getColorG”, “getColorB" to color items based the value on a particular column? If I need everything to be in green, do I pass a numeric value ‘getColorB’: 255? That doesn’t seem to work. If I need the color to vary based on some value, how can I use these 3 variables together for a non-monotone color palette such as viridis? Thanks for any input.
The best thing to do would be to move to st.pydeck_chart, and set get_color there. We are deprecating st.deck_gl_chart and trying to get people to move to st.pydeck_chart, which uses PyDeck to build the DeckGL chart, since:
st.deck_gl_chart doesn’t support several DeckGL features, while st.pydeck_chart support pretty much everything!
st.deck_gl_chart has some “sharp edges”, like this getColorR/G/B business.