Skip to content

Commit a3c19ce

Browse files
Fix height scaling issue in TreeSequence.draw_svg.
1 parent 3a6ef7f commit a3c19ce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

python/tskit/drawing.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ def __init__(
171171
svg_trees = [
172172
SvgTree(
173173
tree, (tree_width, treebox_height),
174+
max_tree_height="ts",
174175
node_labels=node_labels,
175176
mutation_labels=mutation_labels,
176177
tree_height_scale=tree_height_scale,

0 commit comments

Comments
 (0)