Skip to content

Commit

Permalink
fix silly code error in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ulfaslak committed May 17, 2019
1 parent b4bef4a commit a68194d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/cookbook/cookbook.rst
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Example:
# Set node 'size' attributes
for n, data in G.nodes(data=True):
n['size'] = np.random.random()
data['size'] = np.random.random()
# Set link 'weight' attributes
for n1, n2, data in G.edges(data=True):
Expand Down

0 comments on commit a68194d

Please sign in to comment.