spiketools.plts.data.plot_lines

spiketools.plts.data.plot_lines(x_values, y_values, vline=None, ax=None, **plt_kwargs)[source]

Plot data as a line.

Parameters:
x_values, y_values1d or 2d array or list of 1d array

Data to plot on the x and y axis.

vlinefloat or list, optional

Location(s) to draw a vertical line. If None, no line is drawn.

axAxes, optional

Axis object upon which to plot.

plt_kwargs

Additional arguments to pass into the plot function.