I need to do Delaunay Triangulation for a set of 3D points. I wrote an script for it (below), but it seems to that the output has no tetrahedrons in them. Please give me some inputs/ideas. I am using Python3. Thank you very much.
from scipy.spatial import Delaunay
import matplotlib.pyplot as plt
import numpy as np
points= np.array([[1,2,2],[1,3,6],[4,3,4],[5,3,2]])
tri= Delaunay(points)
fig= plt.figure()
ax= fig.gca(projection= '3d')
ax.plot_trisurf(points[:,0],points[:,1],points[:,2],triangles= tri.simplices)
plt.plot(points[:,0],points[:,1],points[:,2],'+')
plt.show()