easystats / easystats/performance
Controlling font size of check_model() axis labels and plot titles
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 1.2k
- Forks
- 109
- Avg merge
- 6h 34m
- Merged PRs (30d)
- 8
Description
I am looking for a way to control (in my case, reduce) the font sizes used in the plots generated by check_model().
Is there some way to do this? I have tried passing arguments to the print() method after capturing the check_model() output in a variable, like this:
plots <- check_model(m)
print(plots, main="this is a test")
But that does not work. Seems like I could pass something via the ... in check_model() to be used by see, but that is unclear. Would another solution be to create my own custom see theme?
I have also seen reference to a "base" parameter that could work to scale the fonts.
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 reading the check_model() plotting path and how its output is handled by print(), then inspect the mentioned see integration, custom themes, and base parameter. Determine whether an existing argument can control axis-label and title font sizes. Done means providing a clear supported way to scale those fonts, with the behavior documented or covered by an appropriate test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100