eelbrain.plot.ColorGrid.add_vline

ColorGrid.add_vline(x, axes=None, *args, **kwargs)

Draw a vertical line on one or more axes

Parameters
  • x (scalar) – Value at which to place the vertical line.

  • 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.axvline() for more arguments.