Block.unset_vertex_attribute

Block.unset_vertex_attribute(key, name)

Unset the attribute of a vertex.

Parameters:
keyint

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.