Skip to content

Themes: axis title resizing via cex.x(y)lab isn't being respected #574

@grantmcdermott

Description

@grantmcdermott

... although the parent cex.lab argument works.

Compare:

library(tinyplot)
tinytheme('ipsum', cex.xlab = 0.5, cex.ylab = 0.5)
plt(0:10)

vs

tinytheme('ipsum', cex.lab = 0.5)
plt(0:10)

Created on 2026-04-28 with reprex v2.1.1

I know why this is happening. It should be a simple fix that I can roll into #549.

P.S. There's a distinct issue related to the extra margin adjustment for the these scaled axis titles. But that requires a bigger refactor, which I'd rather tackle in a separate PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions