We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 226e0a7 commit 1d19879Copy full SHA for 1d19879
lectures/networks.md
@@ -308,7 +308,7 @@ graph2 = graphviz.Digraph(comment='Graph',engine="neato")
308
graph2.attr(rankdir='LR')
309
graph2.node("poor", pos='0,0!')
310
graph2.node("middle class", pos='2,1!')
311
-graph2.node("rich", po ='4,0!')
+graph2.node("rich", pos='4,0!')
312
313
graph2.edge("poor", "poor")
314
graph2.edge("middle class", "poor")
@@ -385,8 +385,8 @@ We can verify this by plotting the graph via Networkx with the following code:
385
```{code-cell} ipython3
386
fig, ax = plt.subplots()
387
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)
+ font_weight='bold', arrows=True, alpha=0.8,
+ connectionstyle='arc3,rad=0.25', arrowsize=20)
390
plt.show()
391
```
392
0 commit comments