-
Notifications
You must be signed in to change notification settings - Fork 15
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
Render arbitrary sets of icons #2
Comments
I kind of have something along those lines in egg::geom_custom but it's not on CRAN because it requires a newer ggplot2 |
That sounds interesting! is it hosted on GitHub? |
privately – I regularly get sick of random "issues" posted by strangers. The idea is to use list-columns to map grobs (or arbitrary data to draw a grob) as a "data" aesthetic.
|
Oh, nice! Yeah, you might've seen over on the other issue, but I was thinking of moving the flags list into a df (especially since it could potentially support multiple "fonts" that way). Not super high priority, though; gotta iron out these SVG rendering issues first. |
A logical extension of this package would be a geom that renders an arbitrary set of icons, specified by supplying a named vector of paths to a scale like:
This would be similar to the way custom colour scales are implemented. I think this could be done either with rastered PNG icons, building on baptiste/ggflags, or with vector SVG icons if I implemented #1.
The text was updated successfully, but these errors were encountered: