Handle spaces in value names when plotting.