Skip to content

issue with custom RBGA color scale #2847

@rahultorlapati

Description

@rahultorlapati

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.
Screen Shot 2020-10-19 at 17 55 54

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions