spmviz.viz.item_colors#

spmviz.viz.item_colors(items, top=None, order=None)[source]#

Stable item → color mapping.

Items are colored in the given order (e.g. by decreasing frequency) with the Okabe–Ito colors first; with top only the first top items get a color and the rest are light gray.