HalfFace.unset_vertex_attribute

HalfFace.unset_vertex_attribute(vertex, name)[source]

Unset the attribute of a vertex.

Parameters:
vertexint

The vertex identifier.

namestr

The name of the attribute.

Returns:
None
Raises:
KeyError

If the vertex does not exist.

Notes

Unsetting the value of a vertex attribute implicitly sets it back to the value stored in the default vertex attribute dict.