Comments (2)
Hi, thanks for raising the issue.
A couple of points.
-
netgraph
is purely build on matplotlib, so your issue is a compatibility issue between matplotlib and jupyter. -
Specifically, for interactive graphs, you need to be running a matplotlib backend that is interactive. IIRC, the default backend for notebooks is non-interactive. Prepending
%matplotlib notebook
to your code activates thenotebook
matplotlib backend, which supports interactivity in notebooks. There are many available backends for matplotlib. You can learn about them here.
%matplotlib notebook
import networkx as nx
import matplotlib.pyplot as plt
import netgraph
...
- Interactive drawing in notebooks with current versions of matplotlib is currently bugged and hence excruciatingly slow. See this issue. Also there appear to be additional issues with firefox. Depending on what matplotlib version and browser you are using, results may hence be subpar even with the correct backend.
from netgraph.
I am closing this issue as it appears unrelated to my code base. If you have a counterexample or any further questions regarding this problem, feel free to re-open.
from netgraph.
Related Issues (20)
- Issue with Node-Edge Connection when using Custom Shapes HOT 4
- Proper format for entering node_labels ? HOT 1
- Multipartite/Shell layouts not working if the number of nodes per layer/shell are not equal HOT 1
- Opacity behavior when removing vertex HOT 2
- Problems with very large graphs HOT 12
- Installation not working with python 3.11 HOT 5
- Minor documentation issues HOT 3
- ArcDiagram throws warning, does not label nodes, does not preserve node order. HOT 2
- Way to specify linestyle for edges? HOT 2
- Unable to use Community layout for Multi-Component graph? HOT 4
- Issues with MultiGraph HOT 14
- Not specifying node_edge_width when node_size is small causes node colours to not show up HOT 2
- How can I change the direction of a dot graph? HOT 1
- Strange Axis BoundingBox "diamond" HOT 3
- Combining interactive graphs with networkx subgraph functions? HOT 6
- (Suggestion) Handling div-by-zero HOT 1
- (Un)directed mixed graph HOT 5
- Changing arrow size while keeping edge width intact HOT 3
- self-loop labeling problem using EditableGraph HOT 2
- Embedding NetGraph EditableGraph in PyQt5 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from netgraph.