Skip to content

Commit

Permalink
Update node2vec_wiki.py (shenweichen#13)
Browse files Browse the repository at this point in the history
Fixed an obvious bug in line39
  • Loading branch information
dc-ying authored and 浅梦 committed May 9, 2019
1 parent 55bb78a commit 7ed2926
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/node2vec_wiki.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def plot_embeddings(embeddings,):
color_idx[Y[i][0]].append(i)

for c, idx in color_idx.items():
plt.scatter(node_pos[idx, 0], node_pos[idx, 1], label=c))
plt.scatter(node_pos[idx, 0], node_pos[idx, 1], label=c)
plt.legend()
plt.show()

Expand Down

0 comments on commit 7ed2926

Please sign in to comment.