axhline#

named_arrays.plt.axhline(y=0, xmin=0, xmax=1, ax=None, **kwargs)#

A wrapper around matplotlib.axes.Axes.axhline().

Parameters:
  • y (float | na.AbstractScalar) – y-coordinate of the line in data units.

  • xmin (float | na.AbstractScalar) – Lower x-coordinate of the span in x axis units (0-1).

  • xmax (float | na.AbstractScalar) – Upper x-coordinate of the span in x axis units (0-1).

  • ax (None | matplotlib.axes.Axes | na.AbstractScalar) – The matplotlib axes instance(s) to use.

Return type:

na.ScalarArray