errorband

gdt.core.plot.lib.errorband(x, y_upper, y_lower, ax, **kwargs)[source]

Plot an error band.

Parameters:
  • x (np.array) – The x values

  • y_upper (np.array) – The upper y values of the error band

  • y_lower (np.array) – The lower y values of the error band

  • ax (matplotlib.axes) – The axis on which to plot

  • **kwargs – Other plotting options

Returns:

(list of matplotlib.collections.PolyCollection)