axhspan#
- named_arrays.plt.axhspan(ymin, ymax, xmin=0, xmax=1, ax=None, **kwargs)#
A wrapper around
matplotlib.axes.Axes.axhspan().- Parameters:
ymin (float | AbstractScalar) – Lower y-coordinate of the span in data units.
ymax (float | AbstractScalar) – Upper y-coordinate of the span in data units.
xmin (float | AbstractScalar) – Lower x-coordinate of the span in x axis units (0-1).
xmax (float | AbstractScalar) – Upper x-coordinate of the span in x axis units (0-1).
ax (None | Axes | AbstractScalar) – The matplotlib axes instance(s) to use.
- Return type: