From f6e97c052813d216913cb00d84b668cf732bf6e3 Mon Sep 17 00:00:00 2001 From: zrguo <49157727+LarFii@users.noreply.github.com> Date: Sat, 26 Oct 2024 14:04:11 +0800 Subject: [PATCH] Update graph_visual_with_html.py --- examples/graph_visual_with_html.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/graph_visual_with_html.py b/examples/graph_visual_with_html.py index e4337a54..11279b3a 100644 --- a/examples/graph_visual_with_html.py +++ b/examples/graph_visual_with_html.py @@ -6,7 +6,7 @@ import random G = nx.read_graphml("./dickens/graph_chunk_entity_relation.graphml") # Create a Pyvis network -net = Network(notebook=True) +net = Network(height="100vh", notebook=True) # Convert NetworkX graph to Pyvis network net.from_nx(G)