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

Do not try to add `treeview.Face` when it is not available #698

Closed sirno closed 10 months ago

sirno commented 11 months ago

Hi,

This PR fixes an ImportError that occurrs when PyQt5 is not installed and add_face is called in the smartview renderer.

jordibc commented 10 months ago

Hi @sirno ,

We have tried to fix this and your other related PRs with commit 1c3f9d9946f .

I'm copying the same text on them and closing them, but feel free to comment or let us know if anything is not working properly.

Thanks!