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

Add function to get names of available shapes #2

Closed
cgoo4 opened this issue May 30, 2024 · 1 comment
Closed

Add function to get names of available shapes #2

cgoo4 opened this issue May 30, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@cgoo4
Copy link
Owner

cgoo4 commented May 30, 2024

Add a function to create a data frame of available shapes and their associated sets.

The motivation is to make it easier to add a vector of chosen shape names to scale_shape_manual().

@cgoo4 cgoo4 added the enhancement New feature or request label May 30, 2024
@cgoo4 cgoo4 self-assigned this May 30, 2024
cgoo4 added a commit that referenced this issue May 30, 2024
@cgoo4
Copy link
Owner Author

cgoo4 commented May 30, 2024

Completed example:

library(ggfoundry)
#> Loading required package: ggplot2
shapes_cast()
#>          set    shape
#> 1     circle  circleF
#> 3     circle  circleL
#> 5     circle  circleR
#> 7  container      jar
#> 9  container     tube
#> 11     cross   cross1
#> 13     cross   cross2
#> 15      geom      box
#> 17      geom   dendro
#> 19      geom   ribbon
#> 21      geom   violin
#> 23   polygon heptagon
#> 25   polygon  hexagon
#> 27   polygon  octagon
#> 29   polygon pentagon

Created on 2024-05-30 with reprex v2.1.0

@cgoo4 cgoo4 closed this as completed May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant