vispipe.plot_backend.MPL_Figure.tricontour#
- MPL_Figure.tricontour(vals, *meshdata, bbox=None, fill=True, limits=None, levels=101, empty_value=None, ax=None, **triconkwargs)#
Calls ax.tricontour() or ax.tricontourf().
- Parameters:
vals (
ndarray) – Array containing data to be plotted.*meshdata (triangulation | np.ndarray,np.ndarray) – matplotlib triangulation of the grid or raw nodes and elemcomps.
bbox (
tuple[float,float,float,float] |None) – typing.Iterable containing x0,y0,x1,y1 where point 0 is the bottem left and point 1 is the top right of the bounding box.fill (
bool) – If True, tricontourf is called. If False, tricontour is called.limits (
tuple[float,float] |None) – A list of the lower and upper values of the contour.levels (
int) – The number of countor levels that will be generated.empty_value (float | None, optional) – Value that will be masked out before the plot.
ax (
Axes|None) – Axes to plot onto. If None self.gca() is called.**triconkwargs – Keyword arguments passed to ax.tricontour() or ax.tricontourf().
- Return type:
TriContourSet- Returns:
Triangulated contour set.