ggpattern
ggpattern copied to clipboard
New `pattern_linewidth` aesthetic?
{ggplot2}is renaming thesizeaesthetic tolinewidthwhen referring to line widths- Should
{ggpattern}rename thepattern_sizeaesthetic topattern_linewidthwhen referring to pattern line widths to match the above change? - Obviously keep support for
pattern_sizefor backwards compatibility...
Perhaps easier if we first support new linewidth parameter in {gridpattern}: https://github.com/trevorld/gridpattern/issues/57
- Development version of
{gridpattern}can now handle either usingpattern_linewidthorpattern_size(and makes both available to custom patterns). - Looking at what
{ggplot2}did it seems keeping backwards compatibility forpattern_sizewould be a "non-trivial" enterprise and currently there aren't any known patterns that need both apattern_sizeandpattern_linewidthaesthetic... Leaning towards not adding a newpattern_linewidthaesthetic for now but would be open to backwards-compatible pull requests that implement this...