Relative sizing for `element_text`
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 4.8k
- Forks
- 254
- Avg merge
- 10h 35m
- Merged PRs (30d)
- 9
Description
In ggplot2, relative sizing for text within a plot can be conveniently achieved using the rel function, as shown in the following example:
plot + theme(axis.title.x = element_text(size = rel(1.5)))
I was wondering if there is a similar feature in plotnine that allows for relative text sizing. Besides, I'm also curious whether it is possible to resize all text relatively in a plot at a time. Any help would be greatly appreciated!
Contributor guide
No contributing guide indexed for this repository
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
The issue does not name a file, test, or entry point. Start by checking whether plotnine exposes a rel-like function or a theme-wide text-size setting; done means documenting or implementing supported relative sizing for individual text elements and for all plot text.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, r
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100