plot.events_to_dict works