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

Missing contour parameter defaults to TRUE #6222

Merged
merged 1 commit into from
Jan 27, 2025

Conversation

teunbrand
Copy link
Collaborator

This PR aims to fix #5571.

It is a simple fix that just does what the title indicates.

Example from linked issue:

devtools::load_all("~/packages/ggplot2/")
#> ℹ Loading ggplot2

ggplot() +
  layer(
    geom = GeomDensity2d,
    stat = StatDensity2d,
    data = faithful,
    mapping = aes(x = eruptions, y = waiting),
    position = PositionIdentity,
  )

Created on 2024-12-09 with reprex v2.1.1

Copy link
Member

@thomasp85 thomasp85 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@teunbrand teunbrand merged commit 321b300 into tidyverse:main Jan 27, 2025
13 checks passed
@teunbrand teunbrand deleted the default_contour_is_true branch January 27, 2025 15:10
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.

layer does not work as expected for creating a geom_density_2d plot
2 participants