Skip to content

Commit

Permalink
Correct documentation for hue and saturation. Closes #2
Browse files Browse the repository at this point in the history
  • Loading branch information
jolars committed Oct 29, 2018
1 parent 0832c6c commit b3d6971
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* `qualpal()` gains an argument, `n_threads`, for specifying the number
of threads to use when computing the distance matrix between colors.
* C++ functions call namespaces explicitly using `::`.
* Documentation for hue and saturation in `qualpal()` has been fixed. (#2)

# qualpalr 0.4.2

Expand Down
4 changes: 2 additions & 2 deletions R/qualpal.R
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
#' \item{A \code{\link{list}} with the following \emph{named} vectors,
#' each of length two, giving a range for each item.}{
#' \describe{
#' \item{\code{h}}{Hue, in the range [0, 1]}
#' \item{\code{s}}{Saturation, in the range [-360, 360]}
#' \item{\code{h}}{Hue, in the range [-360, 360]}
#' \item{\code{s}}{Saturation, in the range [0, 1]}
#' \item{\code{l}}{Lightness, in the range [0, 1]}
#' }
#' }
Expand Down
8 changes: 4 additions & 4 deletions man/qualpal.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b3d6971

Please sign in to comment.