v = test_data[:, (-1)]
x = 0.5 * (2.0 * b + c) / (a + b + c)
y = 0.5 * np.sqrt(3) * c / (a + b + c)
T = tri.Triangulation(x, y)
plt.tricontourf(x, y, T.triangles, v)
corners = np.array([[0, 0], [1, 0], [0.5, np.sqrt(3) * 0.5]])
triangle = tri.Triangulation(corners[:, (0)], corners[:, (1)])
refiner = tri.UniformTriRefiner(triangle)
trimesh = refiner.refine_triangulation(subdiv=4)
plt.triplot(trimesh, 'k--')
plt.show()
Как создать тройной контурный график в Python?