DOSull / weaving-space

tools for making tileable weave units that give the appearance of a woven material for multivariate thematic mapping
MIT License
19 stars 0 forks source link

Make the legend shape reflect the tile shape #9

Closed DOSull closed 9 months ago

DOSull commented 2 years ago

Currently the legends are all rectangular, regardless of whether the underlying tiling is hexagonal or rectangular. It would be nice if the legend shape reflected the tiling type.

Because the legend size is limited to the bounds of the elements selected by _get_legend_elements() this is a bit more complicated than just making a buffered tile_unit.tile. So... some care required!

DOSull commented 9 months ago

This functionality is now implemented