Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upFeature/crop #56
Feature/crop #56
Conversation
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.
|
you can add your name in the author list, https://github.com/GuangchuangYu/hexSticker/blob/master/DESCRIPTION#L4-L8, as a contributor. |
see commit message on 88a03e8