HalfFace.unset_vertex_attribute

HalfFace.unset_vertex_attribute(vertex, name)[source]

Unset the attribute of a vertex.

Parameters
  • vertex (int) – The vertex identifier.

  • name (str) – The name of the attribute.

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.