Skip to content

Commit

Permalink
Update geometric tutorial for networkx/networkx#7565. (networkx#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
rossbar authored Sep 7, 2024
1 parent 9adac68 commit cac78da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/generators/geometric.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ import json
# load json-ed networkx datafile
with open("data/tesla_network.json") as infile:
G = nx.json_graph.node_link_graph(json.load(infile))
G = nx.json_graph.node_link_graph(json.load(infile), edges="links")
```

```{code-cell} ipython3
Expand Down

0 comments on commit cac78da

Please sign in to comment.