laserson / squarify

Pure Python implementation of the squarify treemap layout algorithm
Other
293 stars 36 forks source link

Update __init__.py #3

Closed yiwentang closed 7 years ago

yiwentang commented 8 years ago

In python 3.3, map returns an iterator. So it has to be converted to list in function 'normalize_sizes' and 'squarify'

laserson commented 7 years ago

Addressed this in #2 and pushed a new release. Thanks for the contribution, though!