HalfFace.unset_edge_attribute

HalfFace.unset_edge_attribute(edge, name)[source]

Unset the attribute of an edge.

Parameters
  • edge (tuple of int) – The edge identifier.

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

Raises

KeyError – If the edge does not exist.

Notes

Unsetting the value of an edge attribute implicitly sets it back to the value stored in the default edge attribute dict.