HalfEdge.unset_vertex_attribute

HalfEdge.unset_vertex_attribute(key, name)[source]

Unset the attribute of a vertex.

Parameters
  • key (int) – The vertex identifier.

  • name (str) – 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.