Skip to content

Control internal pacing of a given color scale #1843

Description

@anders-kiaer

Currently for diverging colormaps, we support only changing the midpoint:

Image

As a user I would like to add more sliders to the colormap to e.g. highlight selected parts of my map. If e.g. a map ranges from -500 to 500, but 90% of the map's values are concentrated in the ranges [-500, -400] and [400, 500], a standard linear scale wastes most of its color spectrum in an area without any "value" (and the dynamic nature within the two extreme groups are hard to see).

We could support this both for sequential and diverging colormaps.

Image

Could also consider removing the existing "Customize range" toggle? Currently it only makes the colormap readonly or not (but it doesn't change an already customized colormap to a "normal one" when toggled off).

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