spiketools.plts.annotate.add_hlines

spiketools.plts.annotate.add_hlines(hline, ax=None, **plt_kwargs)[source]

Add horizontal line(s) to a plot axis.

Parameters:
hlinefloat or list

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

axAxes, optional

Axis object upon which to plot.

plt_kwargs

Additional arguments to pass into the plot function.