New 'pattern_linewidth' aesthetic?
trevorld opened this issue · 2 comments
trevorld commented
{ggplot2}
is renaming thesize
aesthetic tolinewidth
when referring to line widths- Should
{ggpattern}
rename thepattern_size
aesthetic topattern_linewidth
when referring to pattern line widths to match the above change? - Obviously keep support for
pattern_size
for backwards compatibility...
trevorld commented
Perhaps easier if we first support new linewidth
parameter in {gridpattern}
: trevorld/gridpattern#57
trevorld commented
- Development version of
{gridpattern}
can now handle either usingpattern_linewidth
orpattern_size
(and makes both available to custom patterns). - Looking at what
{ggplot2}
did it seems keeping backwards compatibility forpattern_size
would be a "non-trivial" enterprise and currently there aren't any known patterns that need both apattern_size
andpattern_linewidth
aesthetic... Leaning towards not adding a newpattern_linewidth
aesthetic for now but would be open to backwards-compatible pull requests that implement this...