We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccc9c33 commit 7fc9df7Copy full SHA for 7fc9df7
examples/core_meshDS_numpy.py
@@ -16,7 +16,7 @@ def getMesh(X=100, Y=100):
16
x = np.linspace(-5, 5, X)
17
y = np.linspace(-5, 5, Y)
18
xx, yy = np.meshgrid(x, y, sparse=False)
19
- z = np.sin(xx ** 2 + yy ** 2) / (xx ** 2 + yy ** 2)
+ z = np.sin(xx**2 + yy**2) / (xx**2 + yy**2)
20
xyz = np.column_stack((xx.flatten(), yy.flatten(), z.flatten()))
21
tri = Delaunay(xyz[:, :2])
22
return xyz, tri.simplices
0 commit comments