Skip to content

Commit b11d574

Browse files
authored
Pass missing arguments in guide_coloursteps() (#5931)
* pass missing arguments * document * add news bullet
1 parent 52bdbc5 commit b11d574

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

NEWS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,8 @@
119119
the `nbin` argument (@teunbrand, #5882, #5036)
120120
* `after_stat()` and `after_scale()` throw warnings when the computed aesthetics
121121
are not of the correct length (#5901).
122+
* `guide_colourbar()` now correctly hands off `position` and `available_aes`
123+
parameters downstream (@teunbrand, #5930)
122124
* `geom_hline()` and `geom_vline()` now have `position` argument
123125
(@yutannihilation, #4285).
124126
* New function `get_strip_labels()` to retrieve facet labels (@teunbrand, #4979)

R/guide-colorsteps.R

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ guide_coloursteps <- function(
5252
even.steps = TRUE,
5353
show.limits = NULL,
5454
direction = NULL,
55+
position = NULL,
5556
reverse = FALSE,
5657
order = 0,
5758
available_aes = c("colour", "color", "fill"),
@@ -67,9 +68,11 @@ guide_coloursteps <- function(
6768
alpha = alpha,
6869
even.steps = even.steps,
6970
show.limits = show.limits,
71+
position = position,
7072
direction = direction,
7173
reverse = reverse,
7274
order = order,
75+
available_aes = available_aes,
7376
super = GuideColoursteps
7477
)
7578
}

man/guide_coloursteps.Rd

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)