Csv legend back in

fixes #448