Closed GillesJ closed 5 years ago
Yes, that was careless of me. I'll push a fix shortly.
Ok, I pushed a 0.4.1 that should've fixed this. Please let me know if there are still problems.
Thanks for the quick fix and writing this package! Makes for a nice visualization of category frequency in my datasets.
Btw, the fix I pushed was broken on all but py36. The latest (0.4.2) should be good on all python versions.
Release 0.4.0 breaks passing matplotlib.plot() kwargs in the squarify.plot() method. This worked in v0.3.0. This feature is mainly useful for plotting squarify output on matplotlib figures. For instance, in the code example below I use a figure with fixed size to plot a treemap on.
In v0.4.0 this introduced AttributeErrors for the "figure" and "alpha" kwargs, while it produces the expected output in v0.3.0.