Remove documentation warning from tree.py

Fixes #223

Thanks doc-whisperer @ElBrogrammer
Merge pull request #227 from ElDeveloper/user-warning

Remove documentation warning from tree.py