This package includes some extra functions to matplotlib.
Currently there includes the following usefull functions:
-
AutofitTextclass fromAutofitTextmodule, which can auto-fit the text into a box region, which is specified by width x height at the text position (x,y) -
treemapfromtreemapmodule, which plots a treemap. It supports the hierarchical treemap. Its labels use theAutofitTextclass to auto fit the text into the tiles. For usage, please see the docstrings in the source code and the examples in the jupyter notebook.
-
With one level
-
With multi-levels
-
Split at the first level
-
Add some pads between the parent tiles and children tiles, and label the parent tiles
For the source code to generate the above figure, please see the examples




