Routines for plotting area-weighted diagrams of subsets and subsets of subsets. This consistutes an extension to Venn diagrams in some sense (hierarchy), while a limitation in another (subsets only).
The simplest way to install the package is via easy_install or pip:
$ easy_install matplotlib-subsets
The package provides the function: treesets_rectangles.
It takes a tree, where each node is defined as ((number-of-items-contained, label, dictionary-of-plotting-attributes), [child nodes…]).
tree = ((120, '120', None), [ ((50, 'A50', None), ), ((50, 'B50', None), ) ]) treesets_rectangles(tree) plt.savefig('example_tree.pdf', bbox_inches='tight') plt.close()
Here, the node ‘120’ is of size 120. It has two subsets, ‘A50’ and ‘B50’, each of size 50. No additional plotting attributes are given (e.g. the color of rectangles is chosen automatically).
TODO: Figure out how to actually get changelog content.
Changelog content for this version goes here.
TODO: Brief introduction on what you do with files - including link to relevant help section.
|File Name & Checksum SHA256 Checksum Help||Version||File Type||Upload Date|
|matplotlib_subsets-1.0-py2.7.egg (6.4 kB) Copy SHA256 Checksum SHA256||2.7||Egg||Dec 4, 2013|
|matplotlib-subsets-1.0.tar.gz (3.9 kB) Copy SHA256 Checksum SHA256||–||Source||Dec 4, 2013|