etetoolkit / ete

Python package for building, comparing, annotating, manipulating and visualising trees. It provides a comprehensive API and a collection of command line tools, including utilities to work with the NCBI taxonomy tree.
http://etetoolkit.org
GNU General Public License v3.0
773 stars 216 forks source link

allow adding tooltip to array #690

Closed dengzq1234 closed 1 year ago

dengzq1234 commented 1 year ago

allow add tootlip to array, for example Screenshot from 2023-06-09 09-53-47

dengzq1234 commented 1 year ago

Thanks @dengzq1234

In addition to the comments in the code, it seems that another change would be missing, which is how the function draw_array() sends the "array" graphic element in ete4/smartview/renderer/draw_helpers.py (it would need to send the tooltip there, right?)

yes Jordi, I made a change in draw_array() function which allows the tooltip as parameter. Please take a look.