Skip to content

Commit 266c9a3

Browse files
authored
Use already-converted np.arrays (#32417)
1 parent b851896 commit 266c9a3

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎lib/matplotlib/tri/_triangulation.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ def __init__(self, x, y, triangles=None, mask=None):
5757
if triangles is None:
5858
# No triangulation specified, so use matplotlib._qhull to obtain
5959
# Delaunay triangulation.
60-
self.triangles, self._neighbors = _qhull.delaunay(x, y, sys.flags.verbose)
60+
self.triangles, self._neighbors = _qhull.delaunay(self.x, self.y,
61+
sys.flags.verbose)
6162
self.is_delaunay = True
6263
else:
6364
# Triangulation specified. Copy, since we may correct triangle

0 commit comments

Comments
 (0)