color_mode#

property ScatterGraphic.color_mode: Literal['uniform', 'vertex']#

Get or set the color mode. Note that after setting the color_mode, you will have to set the colors as well for switching between ‘uniform’ and ‘vertex’ modes.