jacklangerman
commited on
Commit
•
2808776
1
Parent(s):
4415e8d
coordinate system
Browse files- hoho/vis.py +1 -1
hoho/vis.py
CHANGED
@@ -51,7 +51,7 @@ def show_grid(edges, meshes=None, row_length=5):
|
|
51 |
T = np.eye(4)
|
52 |
out = []
|
53 |
edges = [sum(e[1:], e[0]) for e in edges]
|
54 |
-
row_height = 1.1 * max((e.extents for e in edges), key=lambda e: e[1])[
|
55 |
col_width = 1.1 * max((e.extents for e in edges), key=lambda e: e[0])[0]
|
56 |
# print(row_height, col_width)
|
57 |
|
|
|
51 |
T = np.eye(4)
|
52 |
out = []
|
53 |
edges = [sum(e[1:], e[0]) for e in edges]
|
54 |
+
row_height = 1.1 * max((e.extents for e in edges), key=lambda e: e[1])[1]
|
55 |
col_width = 1.1 * max((e.extents for e in edges), key=lambda e: e[0])[0]
|
56 |
# print(row_height, col_width)
|
57 |
|