ggplot2 customization
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 4
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Add my preferences of what I like to have in plots:
- `expand = expansion()`
- Fill with patterns
- Use white and black
- Check that legends are in the plot
Ideally it would also provide tools to map the legend with the title and color the names accordingly: aka using [ggtext](https://cran.r-project.org/package=ggtext) is too complicated and legend should be automatically used to map things. This might require to alter text with `after_scale()` or similar tricks
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by breaking the requested plot preferences into separate, testable behaviors: expansion, patterned fills, black-and-white styling, and legend placement. Then assess the proposed automatic legend/title and color mapping using the linked ggtext reference and after_scale() idea. Done should be defined for each preference and for the requested legend mapping behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100