eelbrain.plot.Boxplot.add_hspan

Boxplot.add_hspan(bottom, top, axes=None, *args, **kwargs)

Draw a horizontal bar on one or more axes

Parameters:
  • bottom (scalar) – Bottom end of the horizontal bar.

  • top (scalar) – Top end of the horizontal bar.

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