You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[DECK.GL MULTIPLE LAYERS] Categorical color from scatterplot not used #20459
In a deck.gl multiple layers I use a deck.gl scatterplot with a categorical color for the point color.
It's working fine except that the categories color in legend is not the same as the point on the map.
How to reproduce the bug
Create a deck.gl scatterplot chart
Put something in "Point Color > Categorical Color" parameter
Save chart
Create a deck.gl Multple Layers chart
Add previously created deck.gl scatterplot
Run and see point color
Actual results
Expected results
Same color as the configured one in deck.gl scatterplot
Environment
(please complete the following information):
browser type and version: Firefox 91.10 esr
superset version: 1.5.0
Checklist
Make sure to follow these steps before submitting your issue - thank you!
I have reproduced the issue with at least the latest released version of superset.
I have checked the issue tracker for the same issue and I haven't found one similar.
Seems like this thread has gone cold... maybe it's an edge case... maybe it's fixed in 4.1.2/5.0.0? Could use some fresh context and validation, but might be closed as 'not planned' unless anyone wants to investigate and open a PR.
Yes, this issue was present in Superset 4.1.2 through 5.0.0rc2, where Deck.GL scatterplot charts would show incorrect categorical colors in dashboards. The bug is fixed in the master branch after 5.0.0rc2—see the fix here: PR #33748. If you need a workaround, using version 4.1.1 avoids the problem, but upgrading to a version that includes this PR will resolve it permanently. More context and confirmation of the fix can be found in issue #32841.
Still confirmed present in Superset 5.0.0 per @OOub (July 2025) — categorical colors from scatterplot layers are not applied in the multi-layer deck.gl chart. PRs to fix how categorical colors are propagated across layers are welcome.
Activity
MrTrakez commentedon Sep 8, 2022
Have you found a solution yet? I have the same problem!
cphilibien commentedon Nov 30, 2022
I have the same issue. There are a solution?
BitBy73Bit commentedon Apr 12, 2023
+1
rusackas commentedon Feb 23, 2024
Still an issue in Superset 3.x... but not a high priority issue. Anyone want to take a crack at opening a PR?
rusackas commentedon Feb 29, 2024
The above linked issue was closed as a duplicate, but has more context for anyone who wants to tackle this.
rusackas commentedon Aug 6, 2024
I wonder if our resident DeckGL guru @Mattc1221 would like to take a look here.
rusackas commentedon Apr 3, 2025
Seems like this thread has gone cold... maybe it's an edge case... maybe it's fixed in 4.1.2/5.0.0? Could use some fresh context and validation, but might be closed as 'not planned' unless anyone wants to investigate and open a PR.
DarksChoise commentedon Jun 25, 2025
dosubot commentedon Jun 25, 2025
Yes, this issue was present in Superset 4.1.2 through 5.0.0rc2, where Deck.GL scatterplot charts would show incorrect categorical colors in dashboards. The bug is fixed in the master branch after 5.0.0rc2—see the fix here: PR #33748. If you need a workaround, using version 4.1.1 avoids the problem, but upgrading to a version that includes this PR will resolve it permanently. More context and confirmation of the fix can be found in issue #32841.
To reply, just mention @dosu.
Share context across your team and agents. Try Dosu.
DarksChoise commentedon Jun 26, 2025
DarksChoise commentedon Jul 1, 2025
@dosu-bot the error that is appearing in the colors is in DECK.GL MULTIPLE LAYERS, is there any special file that you can check?
OOub commentedon Jul 16, 2025
Can confirm, the issue is still present in 5.0.0. legends and categorical colors do not appear in the multilayer deck.gl chart.
rusackas commentedon Mar 11, 2026
Still confirmed present in Superset 5.0.0 per @OOub (July 2025) — categorical colors from scatterplot layers are not applied in the multi-layer deck.gl chart. PRs to fix how categorical colors are propagated across layers are welcome.