eelbrain.plot.UTSStat.add_vspan

UTSStat.add_vspan(self, xmin, xmax, axes=None, *args, **kwargs)

Draw a vertical bar on one or more axes

Parameters:
xmin : scalar

Start value on the x-axis.

xmax : scalar

Last value on the x-axis.

axes : int | list of int

Which axes to mark (default is all axes).

matplotlib.axes.Axes.axvspan() parameters.

Notes

See Matplotlib’s matplotlib.axes.Axes.axvspan() for more arguments.