spiketools.plts.task.plot_task_events¶
- spiketools.plts.task.plot_task_events(events, ax=None, **plt_kwargs)[source]¶
Plot task events.
- Parameters:
- eventsarray or dict or list
If array, indicates the times to plot event markers. If dict, should have the event markers as a ‘times’ key, plus any additional plot arguments. If list, can be a list of array or of dictionaries.
- axAxes, optional
Axis object upon which to plot.
- plt_kwargs
Additional arguments to pass into the plot function.