only produce a plot if an event is found