Skip to content

Commit

Permalink
Merge pull request #235 from jeromekelleher/fix-draw-bug
Browse files Browse the repository at this point in the history
Fix draw bug
  • Loading branch information
jeromekelleher authored Jun 14, 2019
2 parents c94628d + f2d8c51 commit defa0f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/tskit/_version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Definitive location for the version number.
# During development, should be x.y.z.devN
tskit_version = "0.1.6a2"
tskit_version = "0.2.0a3"
2 changes: 1 addition & 1 deletion python/tskit/drawing.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ def draw(self):
if stroke is not None:
# Keep SVG small and clean
params = {} if stroke == default_edge_colour else {'stroke': stroke}
lines.add(dwg.line(x, (x[1], y[1]), **params))
lines.add(dwg.line(x, (x[0], y[1]), **params))
lines.add(dwg.line((x[0], y[1]), y, **params))

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

0 comments on commit defa0f3

Please sign in to comment.