Skip to content

Commit 92eccf1

Browse files
authored
Merge pull request #19185 from dstansby/tri-doc
Document Triangulation.triangles
2 parents a8f52d9 + 37e9161 commit 92eccf1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/matplotlib/tri/triangulation.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ class Triangulation:
2020
2121
Attributes
2222
----------
23-
edges : int array of shape (nedges, 2)
24-
See `~.Triangulation.edges`
25-
neighbors : int array of shape (ntri, 3)
26-
See `~.Triangulation.neighbors`
23+
triangles : int array-like of shape (ntri, 3)
24+
For each triangle, the indices of the three points that make
25+
up the triangle, ordered in an anticlockwise manner. If you want to
26+
take the *mask* into account, use `get_masked_triangles` instead.
2727
mask : bool array of shape (ntri, 3)
2828
Masked out triangles.
2929
is_delaunay : bool

0 commit comments

Comments
 (0)