fix: use 100vh instead of fixed 750px for network graph height

Agent-Logs-Url: https://github.com/soxoj/maigret/sessions/943e32b6-d0c4-44a8-a87e-0b77410edbcc

Co-authored-by: soxoj <31013580+soxoj@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-04-30 20:47:20 +00:00
committed by GitHub
parent 98b3dbe7c5
commit 5f5ca84f72
+1 -1
View File
@@ -245,7 +245,7 @@ def save_graph_report(filename: str, username_results: list, db: MaigretDatabase
# Generate interactive visualization # Generate interactive visualization
from pyvis.network import Network # type: ignore[import-untyped] from pyvis.network import Network # type: ignore[import-untyped]
nt = Network(notebook=True, height="750px", width="100%") nt = Network(notebook=True, height="100vh", width="100%")
nt.from_nx(G) nt.from_nx(G)
nt.show(filename) nt.show(filename)