Skip to content

Legend: support title = FALSE#653

Merged
grantmcdermott merged 4 commits into
mainfrom
legend_title_FALSE
Jun 27, 2026
Merged

Legend: support title = FALSE#653
grantmcdermott merged 4 commits into
mainfrom
legend_title_FALSE

Conversation

@grantmcdermott

@grantmcdermott grantmcdermott commented Jun 27, 2026

Copy link
Copy Markdown
Owner

FIxes #652

pkgload::load_all("~/Documents/Projects/tinyplot/")
#> ℹ Loading tinyplot
plt(mpg ~ wt | factor(am), mtcars, legend = list(title = FALSE, bty = "o"))

Created on 2026-06-26 with reprex v2.1.1

P.S. The existing title = NA behaviour (i.e., no legend but doesn't remove the spacing) is preserved since it follows the base legend() behaviour.

@grantmcdermott grantmcdermott merged commit 7a8c54f into main Jun 27, 2026
3 checks passed
@grantmcdermott grantmcdermott deleted the legend_title_FALSE branch June 27, 2026 00:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

legend = list(title = FALSE) should work

1 participant