for idx, (ev, color) in enumerate(zip(unique_events, colors)):

is cleaner than the next below