From 0eec7d4cb877d8ce1e3932407968d80e87b0540a Mon Sep 17 00:00:00 2001 From: Mattias Ehatamm Date: Fri, 15 Nov 2024 13:17:02 -0500 Subject: [PATCH] fix typo --- pyzx/drawing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyzx/drawing.py b/pyzx/drawing.py index ee9b7d60..44a14750 100644 --- a/pyzx/drawing.py +++ b/pyzx/drawing.py @@ -292,7 +292,7 @@ def auto_layout_vertex_locs(g:BaseGraph[VT, ET]): #Force-based graph drawing alg c2 = 1 c3 = 1 c4 = .1 - v_loc:Dict[VT, Tuple[int, int]] = dict() + v_locs:Dict[VT, Tuple[int, int]] = dict() for v in g.vertices(): v_locs[v]=(random.random()*math.sqrt(g.num_vertices()), random.random()*math.sqrt(g.num_vertices())) for i in range(100): #100 iterations of force-based drawing