Skip to content

Labels of type_text() should automically inherit y values if not provided #501

@grantmcdermott

Description

@grantmcdermott

To be consistent with base text():

plot(1:10, type = "n")
text(1:10)

The equivalent tinyplot call fails:

library(tinyplot)
plt(1:10, type = "text")
#> Error: argument "labels" is missing, with no default

Created on 2025-09-27 with reprex v2.1.1

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