Class ColorMap (1.50.0)

ColorMap(value)

The color scheme used for highlighting areas.

Enum values:

COLOR_MAP_UNSPECIFIED (0):
    Should not be used.
PINK_GREEN (1):
    Positive: green. Negative: pink.
VIRIDIS (2):
    Viridis color map: A perceptually uniform
    color mapping which is easier to see by those
    with colorblindness and progresses from yellow
    to green to blue. Positive: yellow. Negative:
    blue.
RED (3):
    Positive: red. Negative: red.
GREEN (4):
    Positive: green. Negative: green.
RED_GREEN (6):
    Positive: green. Negative: red.
PINK_WHITE_GREEN (5):
    PiYG palette.

Methods

ColorMap

ColorMap(value)

The color scheme used for highlighting areas.

Enum values:

COLOR_MAP_UNSPECIFIED (0):
    Should not be used.
PINK_GREEN (1):
    Positive: green. Negative: pink.
VIRIDIS (2):
    Viridis color map: A perceptually uniform
    color mapping which is easier to see by those
    with colorblindness and progresses from yellow
    to green to blue. Positive: yellow. Negative:
    blue.
RED (3):
    Positive: red. Negative: red.
GREEN (4):
    Positive: green. Negative: green.
RED_GREEN (6):
    Positive: green. Negative: red.
PINK_WHITE_GREEN (5):
    PiYG palette.