eelbrain.plot.TopoArray.add_vspans

TopoArray.add_vspans(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).

  • arguments (additonal) – Additional arguments for matplotlib.axvspan().