ggplot2 icon indicating copy to clipboard operation
ggplot2 copied to clipboard

Pass missing arguments in `guide_coloursteps()`

Open teunbrand opened this issue 1 month ago • 0 comments

This PR aims to fix #5930.

Briefly, I forgot to pass position and available_aes to new_guide(), which this PR fixes.

Reprex from issue:

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

ggplot(mpg, aes(displ, hwy, colour = cty)) +
  geom_point() +
  guides(color=guide_colorsteps(position = "bottom"))

Created on 2024-06-04 with reprex v2.1.0

teunbrand avatar Jun 04 '24 07:06 teunbrand