Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

layer_*() functions default to plot = last_plot() #5187

Merged
merged 4 commits into from
Feb 27, 2023

Conversation

teunbrand
Copy link
Collaborator

This PR aims to fix #5166.

As the title suggests, this changes the default plot = <missing> to plot = last_plot() in the layer_*() functions.
This is mostly to provide a somewhat sensible default.

@teunbrand teunbrand merged commit 5c79bc7 into tidyverse:main Feb 27, 2023
@teunbrand teunbrand deleted the default_layer_plot branch February 27, 2023 17:19
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.

Feature request: default plot argument for layer_*() functions
2 participants