Skip to content

Commit defa0f3

Browse files
Merge pull request #235 from jeromekelleher/fix-draw-bug
Fix draw bug
2 parents c94628d + f2d8c51 commit defa0f3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

python/tskit/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Definitive location for the version number.
22
# During development, should be x.y.z.devN
3-
tskit_version = "0.1.6a2"
3+
tskit_version = "0.2.0a3"

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)