Skip to content
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

no 'node_scale_root_height' (and other documentation issues) #100

Open
luka-sato opened this issue Nov 12, 2024 · 2 comments
Open

no 'node_scale_root_height' (and other documentation issues) #100

luka-sato opened this issue Nov 12, 2024 · 2 comments

Comments

@luka-sato
Copy link

In the readthedocs (code block [153]), there is a function called node_scale_root_height:

# scale tree to be 2X length of number of matrix cols
ctree = tree.mod.node_scale_root_height(spdata.shape[1] * 2)

However, I have tried running this bit of code, and got the following error: "AttributeError: 'TreeModAPI' object has no attribute 'node_scale_root_height'". The full documentation doesn't mention this, and when I click on "edge/dist changes" I get a 404 error.

Screenshot 2024-11-12 at 13 19 41
@eaton-lab
Copy link
Owner

eaton-lab commented Nov 13, 2024 via email

@luka-sato
Copy link
Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants