spiketools.plts.annotate.add_vshades

spiketools.plts.annotate.add_vshades(vshades, ax=None, **plt_kwargs)[source]

Add vertical shade region(s) to a plot axis.

Parameters:
vshadelist of float or list of list of float

Region(s) of the plot to shade in.

axAxes, optional

Axis object upon which to plot.

plt_kwargs

Additional arguments to pass into the plot function.