
I’m trying to plot nodes based on XY coordinates. Here’s what I have so far:
points = {0: (45638.801, 55742.448),
1: (53717.677, 53637.007),
2: (45670.461, 58929.536),
3: (54683.019, 58581.992)}
G = nx.Graph()
G.add_nodes_from([0,len(points)-1])
plot = Plot(width=800, height=800)
graph_renderer = from_networkx(G, points)
But when I run this, I get the following error:
TypeError: 'dict' object is not callable
However, the documentation states that the layout_function parameter can accept a dictionary.

