eelbrain.plot.Array.add_hline

Array.add_hline(self, y, axes=None, *args, **kwargs)

Draw a horizontal line on one or more axes

Parameters:
y : scalar

Level at which to draw the line.

axes : int | list of int

Which axes to mark (default is all axes).

matplotlib.axes.Axes.axhline() parameters.

Notes

See Matplotlib’s matplotlib.axes.Axes.axhline() for more arguments.