Skip to content

Commit 846537e

Browse files
committed
Simplify documentation of brewer scales
1 parent a5ea5a6 commit 846537e

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

R/scale-brewer.r

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#' Sequential, diverging and qualitative colour scales from colorbrewer.org
22
#'
3-
#' Create colour scales based on ColorBrewer colours.
4-
#'
53
#' ColorBrewer provides sequential, diverging and qualitative colour schemes
64
#' which are particularly suited and tested to display discrete values (levels
75
#' of a factor) on a map. ggplot2 can use those colours in discrete scales. It

man/scale_brewer.Rd

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,15 @@ scale_color_distiller(..., type = "seq", palette = 1, values = NULL,
3838
\item{na.value}{Colour to use for missing values}
3939
}
4040
\description{
41-
Create colour scales based on ColorBrewer colours.
42-
}
43-
\details{
4441
ColorBrewer provides sequential, diverging and qualitative colour schemes
4542
which are particularly suited and tested to display discrete values (levels
4643
of a factor) on a map. ggplot2 can use those colours in discrete scales. It
4744
also allows to smoothly interpolate the colours to a continuous scale,
4845
although the original colour schemes (particularly the qualitative ones)
4946
were not intended for this. The perceptual result is left to the
5047
appreciation of the user.
51-
48+
}
49+
\details{
5250
See \url{http://colorbrewer2.org} for more information.
5351
}
5452
\examples{

0 commit comments

Comments
 (0)