Skip to content

Commit 1d19879

Browse files
committed
change a small alignment issue
1 parent 226e0a7 commit 1d19879

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lectures/networks.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ graph2 = graphviz.Digraph(comment='Graph',engine="neato")
308308
graph2.attr(rankdir='LR')
309309
graph2.node("poor", pos='0,0!')
310310
graph2.node("middle class", pos='2,1!')
311-
graph2.node("rich", po ='4,0!')
311+
graph2.node("rich", pos='4,0!')
312312
313313
graph2.edge("poor", "poor")
314314
graph2.edge("middle class", "poor")
@@ -385,8 +385,8 @@ We can verify this by plotting the graph via Networkx with the following code:
385385
```{code-cell} ipython3
386386
fig, ax = plt.subplots()
387387
nx.draw_spring(G_p, ax=ax, node_size=500, with_labels=True,
388-
font_weight='bold', arrows=True, alpha=0.8,
389-
connectionstyle='arc3,rad=0.25', arrowsize=20)
388+
font_weight='bold', arrows=True, alpha=0.8,
389+
connectionstyle='arc3,rad=0.25', arrowsize=20)
390390
plt.show()
391391
```
392392

0 commit comments

Comments
 (0)