Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/crop #56

Merged
merged 2 commits into from
Apr 1, 2019
Merged

Feature/crop #56

merged 2 commits into from
Apr 1, 2019

Conversation

rcorty
Copy link
Contributor

@rcorty rcorty commented Mar 13, 2019

see commit message on 88a03e8

rcorty added 2 commits March 13, 2019 14:58
1. split the call to hexagon() from line 53 in sticker() into three calls.  The first, to geom_hexagon(), puts the background and is before (under) the plot.  The second, to geom_hexagon(),  puts the line around the edge and is after (on top of) the plot.   The third, to theme_sticker, puts the theme.   So function hexagon() is no longer needed, so I commented it out.
2. added the ... argument to sticker() and passed it to geom_pkgname().
3. addedargument to sticker() called `white_around_sticker`, which defaults to FALSE.  But if set to TRUE, it puts white triangles in the corners as the last step in plotting, so as to cover up any plot that went outside the hexagon.
@GuangchuangYu GuangchuangYu merged commit 06402f5 into GuangchuangYu:master Apr 1, 2019
@GuangchuangYu
Copy link
Owner

you can add your name in the author list, https://github.com/GuangchuangYu/hexSticker/blob/master/DESCRIPTION#L4-L8, as a contributor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants