如何在下面的代码中输出我的 delaunay 三角剖分结果。我知道如何用 matplotlib 绘制它,但不知道如何输出数字。打印只是输出对象,但我不知道如何访问它。
import matplotlib.pyplot as plt
from scipy.spatial import Delaunay, delaunay_plot_2d
from scipy.spatial import Delaunay
import numpy as np
points = np.array([[0.1933333, 0.47],
[0.1966667, 0.405],
[0.2066667, 0.3375]])
tri = Delaunay(points)
print(tri)
delaunay_plot_2d(tri)
plt.plot(points[:, 0], points[:, 1], 'o')
plt.show()