Network.unset_node_attribute
- Network.unset_node_attribute(key, name)[source]
Unset the attribute of a node.
- Parameters
key (int) – The node identifier.
name (str) – The name of the attribute.
- Raises
KeyError – If the node does not exist.
Notes
Unsetting the value of a node attribute implicitly sets it back to the value stored in the default node attribute dict.