act.plotting.ContourDisplay.contourf#

ContourDisplay.contourf(x, y, z, subplot_index=(0,), **kwargs)[source]#

Base function for filled contours if user already has data gridded. If subplots have not been added yet, an axis will be created assuming that there is only going to be one plot.

Parameters:
  • x (array-like) – x coordinates or grid for z.

  • y (array-like) – y coordinates or grid for z.

  • z (array-like(x,y)) – Values over which to contour.

  • subplot_index (1 or 2D tuple, list, or array) – The index of the subplot to set the x range of.

  • **kwargs (keyword arguments) – The keyword arguments for plt.contourf()

Returns:

ax (matplotlib axis handle) – The matplotlib axis handle of the plot.