A random inquiry hit my emailbox from a user who asked how to make rounded rect versions of {treemapify} treemaps. I prbly received the req b/c of rounded rect options in {statebins} and {ggchicklet} packages (I get these types of requests more than you might imagine).
The PR adds a radius parameter that is initially 0 (in grid::units) so as to keep the original functionality (proper hard-corner rects) in-place.
The following is an example with radius = unit(5, "pt"), size = 2, color = "white"
checks pass locally but we'll see what travis says abt things in a bit.
no worries if you rly don't want rounded rects (i remain unconvinced of their efficacy but folks seem to like soft corners, so… 🤷🏽♂️).
Greetings!
Long-time user, first time PR-er! (👍🏽📦!)
A random inquiry hit my emailbox from a user who asked how to make rounded rect versions of {treemapify} treemaps. I prbly received the req b/c of rounded rect options in {statebins} and {ggchicklet} packages (I get these types of requests more than you might imagine).
The PR adds a
radius
parameter that is initially0
(ingrid::units
) so as to keep the original functionality (proper hard-corner rects) in-place.The following is an example with
radius = unit(5, "pt"), size = 2, color = "white"
checks pass locally but we'll see what travis says abt things in a bit.
no worries if you rly don't want rounded rects (i remain unconvinced of their efficacy but folks seem to like soft corners, so… 🤷🏽♂️).