Skip to content

Commit

Permalink
text_viz.py: Default padding in y depends on whether compact=True/False
Browse files Browse the repository at this point in the history
This makes text_viz.to_text() work exactly the same as t.to_text().
Which makes more sense to me.
  • Loading branch information
jordibc committed Mar 7, 2024
1 parent edfc56e commit 5117b5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ete4/core/text_viz.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


def to_str(tree, show_internal=True, compact=False, props=None,
px=None, py=0, px0=0, cascade=False):
px=None, py=None, px0=0, cascade=False):
"""Return a string containing an ascii drawing of the tree.
:param show_internal: If True, show the internal nodes too.
Expand Down

0 comments on commit 5117b5a

Please sign in to comment.