axvspan#

named_arrays.plt.axvspan(xmin, xmax, ymin=0, ymax=1, ax=None, **kwargs)#

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

Parameters:
  • xmin (float | na.AbstractScalar) – Lower x-coordinate of the span in data units.

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

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

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

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

Return type:

na.ScalarArray