Skip to content

Lowest colormap color is set to white when chart type is changed to contour #5161

Closed
@Fredx87

Description

@Fredx87

When updating chart data and setting type to "contour", the lowest color in the colormap is always set to white instead of the right color.

This is a reproduction on codepen: https://codepen.io/fredx87/pen/YzqdJZz

If I use Plotly.react the colorbar is wrong, if I redraw the chart using Plotly.newPlot the colorbar is correct.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsomething broken

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions