diff --git a/VERSION b/VERSION index ef538c281..6ebad1488 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.1.2 +3.1.2 \ No newline at end of file diff --git a/ete3/treeview/layouts.py b/ete3/treeview/layouts.py index 2c1c4e866..a319e1c03 100644 --- a/ete3/treeview/layouts.py +++ b/ete3/treeview/layouts.py @@ -45,13 +45,14 @@ def basic(node): if node.is_leaf(): - #node.img_style["size"]=1 - #node.img_style["shape"] = "circle" + node.img_style["size"]=2 + node.img_style["shape"] = "square" faces.add_face_to_node(faces.AttrFace("name","Arial",10,"#4f8f0f",None), node, 0 ) def phylogeny(node): leaf_color = "#000000" - node.img_style["shape"] = "circle" + node.img_style["shape"] = "square" + node.img_style["size"] = 2 if hasattr(node,"evoltype"): if node.evoltype == 'D': node.img_style["fgcolor"] = "#FF0000" @@ -71,14 +72,14 @@ def phylogeny(node): if node.is_leaf(): node.img_style["shape"] = "square" - node.img_style["size"] = 4 + node.img_style["size"] = 2 node.img_style["fgcolor"] = leaf_color faces.add_face_to_node( faces.AttrFace("name","Arial",11,leaf_color,None), node, 0 ) if hasattr(node,"sequence"): SequenceFace = faces.SequenceFace(node.sequence,"aa",13) faces.add_face_to_node(SequenceFace, node, 1, aligned=True) else: - node.img_style["size"] = 6 + node.img_style["size"] = 2 def heatmap(node): square_size = 10