eelbrain.plot.BarplotHorizontal.add_vspans

BarplotHorizontal.add_vspans(self, intervals, axes=None, *args, **kwargs)

Draw vertical bars over axes

Parameters:
intervals : sequence of (start, stop) tuples

Start and stop positions on the x-axis.

axes : int | list of int

Which axes to mark (default is all axes).

additonal arguments :

Additional arguments for matplotlib.axvspan().