question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

visualize() doesn't work with networkx >= 2.4

See original GitHub issue

visualizing a stream works with networkx < 2.4. The error received is:

AttributeError: 'DiGraph' object has no attribute 'node'

This stack overflow answer may address the fix, but I haven’t tested it yet: https://stackoverflow.com/questions/49016596/networkx-digraph-attribute-error-self-succ/49016885#49016885

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
martindurantcommented, Nov 25, 2019

I believe this is fixed in master

1reaction
jdye64commented, Dec 3, 2019

@jaredmcqueen Were you able to validate that this is working for you in master now? It is working for me but want to make sure we help you out.

Read more comments on GitHub >

github_iconTop Results From Across the Web

NetworkX 2.4 — NetworkX 2.8.8 documentation
NetworkX is a Python package for the creation, manipulation, and study of the structure, dynamics, and functions of complex networks.
Read more >
Backwards-incompatible (2.3 -> 2.4) update to networkx #1491
Issue description As a result of a recent update to networkx, Graph objects no longer expose the node attribute. This causes code within...
Read more >
Visualizing network graphs — Bokeh 2.4.0 Documentation
To work with edge glyphs, use the multi_line glyph method. ... from_networkx G = nx.karate_club_graph() plot = figure(title="Networkx Integration ...
Read more >
Code g.nodes(data=True)[0:10] in networkx not working
You should convert the result of g.nodes() into a list since g.nodes() returns a NodeView type which can't be sliced.
Read more >
Graph flow and cut problems — PICOS 2.4 Documentation
We use a graph generated by the LCF generator of the networkx package. ... Problem() # Add the flow variables. f={} for e...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found