Skip to content

Commit 7f44dab

Browse files
author
Daniel Precioso, PhD
committed
Change node colors
1 parent 9d5fef4 commit 7f44dab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/networks/connectivity.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ Take a look at the food graph we created above. Is there a path from "bread" to
127127
```{python}
128128
# Draw the graph
129129
pos = nx.circular_layout(G_foods)
130-
nx.draw(G_foods, with_labels=True, pos=pos)
130+
nx.draw(G_foods, node_color="lightblue", with_labels=True, pos=pos)
131131
plt.show()
132132
```
133133

0 commit comments

Comments
 (0)