changed slices plots legend