Skip to content
Snippets Groups Projects
Commit 663d6181 authored by hagrid67's avatar hagrid67
Browse files

plot the first transition in plotPath

parent 14c757ee
No related branches found
No related tags found
No related merge requests found
...@@ -286,7 +286,7 @@ class RenderTool(object): ...@@ -286,7 +286,7 @@ class RenderTool(object):
if visitDest is not None: if visitDest is not None:
visit = visitDest visit = visitDest
xyPrev = None xyPrev = None
while visit.prev is not None: while visit is not None:
xy = np.matmul(visit.rc, rt.grc2xy) + rt.xyHalf xy = np.matmul(visit.rc, rt.grc2xy) + rt.xyHalf
if xyPrev is not None: if xyPrev is not None:
dx, dy = (xyPrev - xy) / 20 dx, dy = (xyPrev - xy) / 20
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment