pyvis
pyvis copied to clipboard
Graph does not render
When running the example code in the Quick Start section of the README:
from pyvis.network import Network
g = Network()
g.add_node(0)
g.add_node(1)
g.add_edge(0, 1)
g.show("basic.html")
I encounter the error:
AttributeError: 'NoneType' object has no attribute 'render'
I am utilising python 3.10 with VS Code as the IDE.
Same here
edit: related to #216
The issue is simply to do python -m pip install pyvis==0.3.1 after uninstalling first