cast index to list
groupby, not label_to_color
set default color_samples_by
check if color_samples_by is the default
add test for color_samples_by