Use text color instead of markers to represent lines in matplotlib legends.