easystats / easystats/performance

Controlling font size of check_model() axis labels and plot titles

Open
#318 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

3 investigators :grey_question::question: Enhancement :boom:
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.