spiketools.plts.annotate.add_vlines

spiketools.plts.annotate.add_vlines(vline, ax=None, **plt_kwargs)[source]

Add vertical line(s) to a plot axis.

Parameters:
vlinefloat or list

Location(s) of the vertical lines to add to the plot.

axAxes, optional

Axis object upon which to plot.

plt_kwargs

Additional arguments to pass into the plot function.