Skip to content

Commit f7603f4

Browse files
committed
fix networkx breakage
1 parent 8126ff0 commit f7603f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

streamz/graph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def readable_graph(graph):
114114
"""
115115
import networkx as nx
116116

117-
mapping = {k: "{}".format(graph.node[k]["label"]) for k in graph}
117+
mapping = {k: "{}".format(graph.nodes[k]["label"]) for k in graph}
118118
idx_mapping = {}
119119
for k, v in mapping.items():
120120
if v in idx_mapping.keys():

0 commit comments

Comments
 (0)