-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImportError from toytree (ScrollableCanvas) #6
Comments
If i switch to ipcoal 0.3.1 it fixes this. |
but it returns this:
|
Sorry some big updates are on the horizon but yet to be pushed out. Here is the best install instructions currently:
|
Thank you very much! Great work! I am looking forward to your team's fabulous updates! Keep going and never give these packages up. |
When I try to reproduce according to the tutorial like that below:
I encountered this error:
Is this tutorial outdated or another error of dependencies? |
Yes, sorry the documention updates for this new version are on the way.
This function has been renamed to simply ".draw".
D
…On Tue, Dec 5, 2023, 3:40 AM minuscule ***@***.***> wrote:
When I try to reproduce according to the tutorial like that below:
# a dictionary of arguments to style the drawings
kwargs = {
"ts": "c",
"tip_labels": True,
"shared_axis": True,
"width": 600,
"height": 200,
"node_sizes": 6,
}
# draw a grid of trees from model 1
toytree.mtree(unlinked.df.genealogy).draw_tree_grid(**kwargs);
# draw a grid of trees from model 2
toytree.mtree(linked.df.genealogy).draw_tree_grid(**kwargs);
I encountered this error:
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
Cell In[17], line 12
2 kwargs = {
3 "ts": "c",
4 "tip_labels": True,
(...)
8 "node_sizes": 6,
9 }
11 # draw a grid of trees from model 1
---> 12 toytree.mtree(unlinked.df.genealogy).draw_tree_grid(**kwargs);
14 # draw a grid of trees from model 2
15 toytree.mtree(linked.df.genealogy).draw_tree_grid(**kwargs);
AttributeError: 'MultiTree' object has no attribute 'draw_tree_grid'
Is this tutorial outdated or another error of dependencies?
—
Reply to this email directly, view it on GitHub
<#6 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGEVUGYSL5BMZBAYLEQAQATYH3MW5AVCNFSM6AAAAAATIBQHFGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBQGI3TENBUHE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Thank you very much! BTW, merry Christmas 🤶 |
With current versions of ipcoal (0.4.0) and toytree (2.0.5) on import ipcoal gives this error:
The text was updated successfully, but these errors were encountered: