Skip to content

Commit da6ea8d

Browse files
hlendwayclauswilke
authored andcommitted
Updated the definition of scale_color_continuous (#3079)
* Updated the definition of scale_color_continuous to be scale_colour_continous instead of gradient so that it functions as the documentation states. * Updated NEWS.md to document the change of scale_color_continuous() now pointing at scale_colour_continuous() * Fixed backtick in NEWS.md
1 parent 0d47ce7 commit da6ea8d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

NEWS.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# ggplot2 3.1.0.9000
22

3+
* `scale_color_continuous()` now points at `scale_colour_continuos()` so that it
4+
will handle `type = "viridis"` as the documentation states (@hlendway, #3079).
5+
36
* `scale_shape_identity()` now works correctly with `guide = "legend"` (@malcolmbarrett, #3029)
47

58
* Facet strips on the left side of plots now have clipping turned on, preventing

R/zxx.r

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ scale_color_distiller <- scale_colour_distiller
112112
#' @export
113113
#' @rdname scale_gradient
114114
#' @usage NULL
115-
scale_color_continuous <- scale_colour_gradient
115+
scale_color_continuous <- scale_colour_continuous
116116

117117
#' @export
118118
#' @rdname scale_hue

0 commit comments

Comments
 (0)