Closed
Description
Problem
in the trisurf examples, the .triangles attribute is used for the plotting:
tri = mtri.Triangulation(u, v)
# Plot the surface. The triangles in parameter space determine which x, y, z
# points are connected by an edge.
ax = fig.add_subplot(1, 2, 1, projection='3d')
ax.plot_trisurf(x, y, z, triangles=tri.triangles, cmap=plt.cm.Spectral)
but the docs only document triangles as an input parameter into the constructor:
Suggested Improvement
Minimally the class should be cross linked against the trisurf example. Not sure if the fix is also document .triangles
as an attribute, make it a property, or consolidate tri.get_masked_triangles()
since it returns the unmasked triangles when there's no mask.