forked from ellisp/ggflags
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Outlines appearing but some bugs to fix
I'm using a geom_point with shape 21 (a ring) to do the borders. They're rendering, but there are problems: 1) outline sizes aren't calculated properly, so they don't stay on the flag edges. 2) colours are totally messed up, and it seems like they stick if i draw a new plot with modified data. i'm guessing a scope problem (local vars that don't get wiped properly)? 3) flags spill out of the plotting area in the rstudio render and in ggsave. they don't in svg export, though. this doesn't seem like desirable behaviour, as the geom_point outline clips properly in all circumstances.
- Loading branch information
1 parent
401494a
commit caee020
Showing
2 changed files
with
48 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters