Skip to content

Commit d1b775d

Browse files
Fixed drawing bug in legacy code.
Closes #234
1 parent c94628d commit d1b775d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/tskit/drawing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ def draw(self):
287287
if stroke is not None:
288288
# Keep SVG small and clean
289289
params = {} if stroke == default_edge_colour else {'stroke': stroke}
290-
lines.add(dwg.line(x, (x[1], y[1]), **params))
290+
lines.add(dwg.line(x, (x[0], y[1]), **params))
291291
lines.add(dwg.line((x[0], y[1]), y, **params))
292292

293293
# Experimental stuff to render the mutation labels. Not working very

0 commit comments

Comments
 (0)