Network.unset_edge_attribute

Network.unset_edge_attribute(key, name)[source]

Unset the attribute of an edge.

Parameters:
keytuple[hashable, hashable]

The edge identifier.

namestr

The name of the attribute.

Returns:
None
Raises:
KeyError

If the edge does not exist.

See also

edge_attribute()

Notes

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