-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Description
I'm trying to create a custom RBGA color scale from Red to Blue with changing opacity.
colorscale =[
[0, 'RGBA(136,19,71,1)'],
[0.16666667, 'RGBA(172,18,74,1)'],
[0.33333333, 'RGBA(190,32,88,0.1)'],
[0.5, 'RGBA(255,255,255,0.1)'],
[0.66666667, 'RGBA(40,47,108,0.1)'],
[0.83333333, 'RGBA(21,23,85,1)'],
[1, 'RGBA(9,8,57,1)']
]
))
Although I can see the Red and Blue regions, the central part of the scale with opacity 0.1 displays as white.

Metadata
Metadata
Assignees
Labels
No labels