if points are coloured by some factor, and lines are drawn, connect lines within each colour group