Tree plotting in Python

Injeniero Barsa picture Injeniero Barsa · Oct 6, 2011 · Viewed 82k times · Source

I want to plot trees using Python. Decision trees, Organizational charts, etc. Any library that helps me with that?

Answer

jhc picture jhc · Apr 4, 2015

I develop ETE, which is a python package intended, among other stuff, for programmatic tree rendering and visualization. You can create your own layout functions and produce custom tree images: enter image description here

It has a focus on phylogenetics, but it can actually deal with any type of hierarchical tree (clustering, decision trees, etc.)