From cac78da79377f62c283b10a0ac50f53d58000842 Mon Sep 17 00:00:00 2001 From: Ross Barnowski Date: Sat, 7 Sep 2024 10:10:10 -0400 Subject: [PATCH] Update geometric tutorial for networkx/networkx#7565. (#135) --- content/generators/geometric.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/generators/geometric.md b/content/generators/geometric.md index bcca2b40..320eade6 100644 --- a/content/generators/geometric.md +++ b/content/generators/geometric.md @@ -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