def beat_position(annotation, **kwargs):
times, values = annotation.to_interval_values()<EOL>labels = [_['<STR_LIT>'] for _ in values]<EOL>return mir_eval.display.events(times, labels=labels, **kwargs)<EOL>
Plotting wrapper for beat-position data