navis.interfaces.blender.ObjectList.colorize¶
- ObjectList.colorize(groups=None, palette='hls')[source]¶
Assign colors across the color spectrum.
- Parameters:
groups (dict, optional) – A dictionary mapping either neuron ID (always str!) or object name to a group (str). Neurons of the same group will receive the same color.
palette (str) – Name of a seaborn color palette.