mpl_toolkits.mplot3d.axes3d.Axes3D.tricontourf#

Axes3D.tricontourf(*args,zdir='z',offset=None,axlim_clip=False,data=None,**kwargs)[source]#

Create a 3D filled contour plot.

Note

This method currently produces incorrect output due to alongstanding bug in 3D PolyCollection rendering.

Parameters:
X, Y, Zarray-like

Input data. SeeAxes.tricontourf 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 thisposition in a plane normal to zdir.

axlim_clipbool, default: False

Whether to hide lines with a vertex outside the axes view limits.

Added in version 3.10.

dataindexable object, optional

If given, all parameters also accept a strings, which isinterpreted asdata[s] ifs is a key indata.

*args, **kwargs

Other arguments are forwarded tomatplotlib.axes.Axes.tricontourf.

Returns:
matplotlib.tri._tricontour.TriContourSet

Examples usingmpl_toolkits.mplot3d.axes3d.Axes3D.tricontourf#

Triangular 3D filled contour plot

Triangular 3D filled contour plot