mirror of
https://github.com/soxoj/maigret.git
synced 2026-05-06 14:08:59 +00:00
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:
committed by
GitHub
parent
98b3dbe7c5
commit
5f5ca84f72
+1
-1
@@ -245,7 +245,7 @@ def save_graph_report(filename: str, username_results: list, db: MaigretDatabase
|
||||
# Generate interactive visualization
|
||||
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.show(filename)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user