eelbrain.plot.Histogram.add_vspan

Histogram.add_vspan(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.