axhspan#
- named_arrays.plt.axhspan(ymin, ymax, xmin=0, xmax=1, ax=None, **kwargs)#
A wrapper around
matplotlib.axes.Axes.axhspan().- Parameters:
ymin (float | na.AbstractScalar) – Lower y-coordinate of the span in data units.
ymax (float | na.AbstractScalar) – Upper y-coordinate of the span 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