eaton-lab / toytree

A minimalist tree plotting library using toyplot graphs
http://eaton-lab.org/toytree
BSD 3-Clause "New" or "Revised" License
165 stars 28 forks source link

Drawing cloud trees #72

Open mrmrwinter opened 1 year ago

mrmrwinter commented 1 year ago

Hi,

I have used toytree in the past to generate cloud/densi trees from multiple gene trees. when trying to use it this time i get multiple errors (AttributeError: toytree has no attribute draw_cloud_tree), and it looks like the cloud tree function has been hashed out in the Multitree.py script.

Is this option still available? How can i implement it?

Thanks

eaton-lab commented 1 year ago

Hi @mrmrwinter ,

A few ideas:

  1. The draw_cloud_tree option is available from MultiTree objects only, not from ToyTree objects, perhaps you are calling this method from the wrong object type.

  2. Or, perhaps you installed a development version of toytree from GitHub (e.g., the toy3 branch) instead of the main branch or the conda version. In this case the draw_cloud_tree function may have been temporarily hidden while under development.

Let me know. Thanks, Deren