Skip to content

Support ephemeral themes via plt(..., theme = ...)? #442

@grantmcdermott

Description

@grantmcdermott

Currently, we require that users (un)set themes globally and in persistent fashion via

tinytheme("<theme>")

But there are also cases where it would be useful to set ephemeral themes that don't persist. (An example: For a package that calls tinyplot as a dependency, where they would like a particular styling for their plots, but not have to override the user's global settings.)

Perhaps we should enable this via an additional argument in the main function:

tinyplot(..., theme = "<theme>")

?

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