Skip to main content

draw binary tree by matplotlib with three methods:

draw_full_tree([“A”,”B”,”C”,”D”,””,’F’])

draw_link_tree([[‘A’,1,2],[‘B’,3,-1],[‘C’,4,5],[‘D’,-1,-1],[‘F’,-1,-1],[‘G’,-1,-1]])

draw_list_tree(listtree=[‘A’,[‘B’,[‘C’,None,None],None],[‘D’,[‘F’,None,None],None]])

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

DrawBinTree-0.1.5.tar.gz (2.2 kB view details)

Uploaded Source

File details

Details for the file DrawBinTree-0.1.5.tar.gz.

File metadata

  • Download URL: DrawBinTree-0.1.5.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

File hashes

Hashes for DrawBinTree-0.1.5.tar.gz
Algorithm Hash digest
SHA256 5dbe773241fba901a7a38a804b015cbd6a3bc50047a9cf71bbad8fbda390836b
MD5 fb98a4d3828409dfdd3bcd6b1d0fc7e3
BLAKE2b-256 157243a2cd604fb241381f67d29c92b657a3c2acf7114b69eff43bb2e6776c61

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.5 This release

1 file

0.1.4

1 file

0.1.3

1 file

0.1.1

1 file

0.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page