colorMap property

String? colorMap
getter/setter pair

The color scheme used for the highlighted areas.

Defaults to PINK_GREEN for Integrated Gradients attribution, which shows positive attributions in green and negative in pink. Defaults to VIRIDIS for XRAI attribution, which highlights the most influential regions in yellow and the least influential in blue. Possible string values are:

  • "COLOR_MAP_UNSPECIFIED" : Should not be used.
  • "PINK_GREEN" : Positive: green. Negative: pink.
  • "VIRIDIS" : 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" : Positive: red. Negative: red.
  • "GREEN" : Positive: green. Negative: green.
  • "RED_GREEN" : Positive: green. Negative: red.
  • "PINK_WHITE_GREEN" : PiYG palette.

Implementation

core.String? colorMap;