from grains.geometry import TriMesh
msh = TriMesh(*TriMesh.sample_mesh(1))

# The cells are drawn in greeen, in 3 points of line width, and the vertices of the mesh
# are shown in blue.

msh.plot('go-', linewidth=3, markerfacecolor='b', vertex_labels=True)
plt.show()
