Legend issue about ete3

43 views
Skip to first unread message

许东

unread,
Oct 17, 2023, 1:56:43 AM10/17/23
to eteto...@googlegroups.com, jhc...@gmail.com
Dear authors,
         Thank you very much for providing such a useful tool, but I have found that there seems to be no way to add a legend to the graph. The legend (as an example) is shown on the right side of the figure below.
So, could you tell me how to add the legend into figures using ete3. Thanks again!

dengzi...@gmail.com

unread,
Nov 6, 2023, 5:27:30 AM11/6/23
to The ETE toolkit
Hi!
Sorry for the late response as we are currently upgrating ete3 to ete4. In ete4 we adopt a new drawing engine which can easily add legends in the figure

Here I provide the documentation https://github.com/dengzq1234/ete/blob/ete4_tutorial_drawing/doc/tutorial/tutorial_drawing_smartview.rst, which contains figures and source code about recreating them, including adding legends.

Best,
Ziqi

Reply all
Reply to author
Forward
0 new messages