From 237a526d612b12ed3668b0430e3d69a78c7c18d8 Mon Sep 17 00:00:00 2001 From: Jorge Botas Date: Thu, 6 Aug 2020 14:28:29 +0200 Subject: [PATCH 1/2] ArrowFace included in faces.py --- ete3/treeview/faces.py | 69 ++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 67 insertions(+), 2 deletions(-) diff --git a/ete3/treeview/faces.py b/ete3/treeview/faces.py index 0ebe013ed..7e89dd6a6 100644 --- a/ete3/treeview/faces.py +++ b/ete3/treeview/faces.py @@ -63,7 +63,7 @@ from .qt import (QGraphicsRectItem, QGraphicsLineItem, QGraphicsPolygonItem, QGraphicsEllipseItem, QPen, QColor, QBrush, QPolygonF, QFont, - QPixmap, QFontMetrics, QPainter, + QPixmap, QFontMetrics, QPainter, QPainterPath, QRadialGradient, QGraphicsSimpleTextItem, QGraphicsTextItem, QGraphicsItem, Qt, QPointF, QRect, QRectF, QGraphicsSvgItem) @@ -861,7 +861,7 @@ def draw_heatmap_profile(self): y+= y_step x2 = 0 p.end() - + def fit_to_scale(self,v): if v Date: Thu, 6 Aug 2020 15:26:59 +0200 Subject: [PATCH 2/2] : in ArrowFace class --- ete3/treeview/faces.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ete3/treeview/faces.py b/ete3/treeview/faces.py index 7e89dd6a6..529bc7d19 100644 --- a/ete3/treeview/faces.py +++ b/ete3/treeview/faces.py @@ -2421,7 +2421,7 @@ def _height(self): return self.height -class ArrowFace(Face) +class ArrowFace(Face): """