File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed
Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66
77## [ Unreleased]
88
9- ## [ 0.21.0] - TBD
9+ ## [ 0.21.0] - 2024-08-26
1010### Added:
1111- Tree Plot: Plot tree using matplotlib library, added matplotlib as optional dependency.
1212- BaseNode: Add plot method.
Original file line number Diff line number Diff line change 1- __version__ = "0.20.1 "
1+ __version__ = "0.21.0 "
22
33from bigtree .binarytree .construct import list_to_binarytree
44from bigtree .dag .construct import dataframe_to_dag , dict_to_dag , list_to_dag
Original file line number Diff line number Diff line change @@ -524,6 +524,7 @@ Below is the table of operations available to `BaseNode` and `Node` classes.
524524| Get attribute | ` root.get_attr("description") ` | 'root-tag' |
525525| Copy tree | ` root.copy() ` | None |
526526| Sort children | ` root.sort(key=lambda node: node.node_name, reverse=True) ` | None |
527+ | Plot tree | ` root.plot("-ok") ` | plt.Figure() |
527528
528529## Traverse Tree
529530
You can’t perform that action at this time.
0 commit comments