dolfin.cpp.mesh.
MeshColoring_color
Color the cells of a mesh for given coloring type specified by topological dimension, which can be one of 0, 1 or D - 1. Coloring is saved in the mesh topology