XD blog

blog page

ete, graphviz, networkx, python, tree


2015-07-20 Drawing tree with Python

I did not find any good module to draw trees with Python. I tried networkx or graphviz. The first one does not handle big tree very well. The second one does not optimize for trees and it needs to be called through the command line. ete seems a much better option and it is available on Python 3: github/ete3. See also the gallery, the notebook integration, an online visualizer, the documentation (for Python 2).


<-- -->

Xavier Dupré