@@ -37,27 +37,6 @@ class Triangulation(object):
3737 triangles[i,(j+1)%3].
3838 """
3939 def __init__ (self , x , y , triangles = None , mask = None ):
40- """
41- Create a Triangulation object.
42-
43- The first two arguments must be:
44-
45- *x*, *y*: arrays of shape (npoints).
46- Point coordinates.
47-
48- Optional arguments (args or keyword args):
49-
50- *triangles*: integer array of shape (ntri,3).
51- For each triangle, the indices of the three points that make
52- up the triangle. If the points are ordered in a clockwise
53- manner, they are converted to anticlockwise.
54-
55- If not specified, matplotlib.delaunay is used to create a
56- Delaunay triangulation of the points.
57-
58- *mask*: optional boolean array of shape (ntri).
59- Which triangles are masked out.
60- """
6140 self .x = np .asarray (x , dtype = np .float64 )
6241 self .y = np .asarray (y , dtype = np .float64 )
6342 if self .x .shape != self .y .shape or len (self .x .shape ) != 1 :
@@ -106,10 +85,8 @@ def edges(self):
10685 return self ._edges
10786
10887 def get_cpp_triangulation (self ):
109- """
110- Return the underlying C++ Triangulation object, creating it
111- if necessary.
112- """
88+ # Return the underlying C++ Triangulation object, creating it
89+ # if necessary.
11390 if self ._cpp_triangulation is None :
11491 self ._cpp_triangulation = _tri .Triangulation (
11592 self .x , self .y , self .triangles , self .mask , self ._edges ,
0 commit comments