mpl_toolkits.mplot3d.axes3d.Axes3D.contourf#

Axes3D.contourf(X, Y, Z, *args, zdir='z', offset=None, data=None, **kwargs)[source]#

Create a 3D filled contour plot.

Parameters:
X, Y, Zarray-like

Input data. See Axes.contourf for supported data shapes.

zdir{'x', 'y', 'z'}, default: 'z'

The direction to use.

offsetfloat, optional

If specified, plot a projection of the contour lines at this position in a plane normal to zdir.

dataindexable object, optional

If given, all parameters also accept a string s, which is interpreted as data[s] (unless this raises an exception).

*args, **kwargs

Other arguments are forwarded to matplotlib.axes.Axes.contourf.

Returns:
matplotlib.contour.QuadContourSet