renamed 'segment by' to 'colour by' for consistency