pyvista.plotting.mapper._BaseMapper.color_mode#

property _BaseMapper.color_mode: str[source]#

Return or set the color mode.

Either 'direct', or 'map'.

  • 'direct' - All integer types are treated as colors with values in the range 0-255 and floating types are treated as colors with values in the range 0.0-1.0

  • 'map' - All scalar data will be mapped through the lookup table.