SciPy

This is documentation for an old release of SciPy (version 0.17.1). Read this page in the documentation of the latest stable release (version 1.15.1).

scipy.spatial.delaunay_plot_2d

scipy.spatial.delaunay_plot_2d(tri, ax=None)[source]

Plot the given Delaunay triangulation in 2-D

Parameters:

tri : scipy.spatial.Delaunay instance

Triangulation to plot

ax : matplotlib.axes.Axes instance, optional

Axes to plot on

Returns:

fig : matplotlib.figure.Figure instance

Figure for the plot

See also

Delaunay, matplotlib.pyplot.triplot

Notes

Requires Matplotlib.