Closed geotheory closed 6 years ago
Thanks a lot for reporting this, I haven’t seen this bug before. I’m refactoring the layout algorithm in preparation to support multiple levels of nested groups (#20) so hopefully it will take care of this bug too.
Yes I saw that #20 issue. Look forward to testing the outcome.
Good news - it looks like the refactored algorithm does indeed fix this bug.
The new code isn't ready for release yet but it's stable enough to play around with. You can install it from the 'refactoring' branch:
devtools::install_github('wilkox/treemapify', ref = 'refactoring')
Great work :)
Really nice package. I'm finding for a big plot the subgroup geoms are not aligning with the items they contain. E.g.
Note the groups in the upper-right do not correspond with the groupings of their intended sub-items. This happens with both CRAN and github versions of treemapify. Any ideas how to work around?