Skip to content

Improve readability and flexibility of tree plot example#14

Open
YYQ861 wants to merge 1 commit intoUCL-COMP0233-25-26:mainfrom
YYQ861:improvement
Open

Improve readability and flexibility of tree plot example#14
YYQ861 wants to merge 1 commit intoUCL-COMP0233-25-26:mainfrom
YYQ861:improvement

Conversation

@YYQ861
Copy link

@YYQ861 YYQ861 commented Dec 1, 2025

Refactor the script into a grow_tree function.
Replace magic numbers with parameters.
Use descriptive variable names instead of s, d, n.
Add docstring and type hints to document beaviour.

Answers UCL-COMP0233-25-26/RSE-Classwork#45

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants