act.plotting.ContourDisplay.contour#
- ContourDisplay.contour(x, y, z, subplot_index=(0,), **kwargs)[source]#
Base function for 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.contour()
- Returns:
ax (matplotlib axis handle) – The matplotlib axis handle of the plot.