Skip to content

Commit

Permalink
Fix a warning
Browse files Browse the repository at this point in the history
  • Loading branch information
haozhu233 committed Jan 19, 2024
1 parent 65788e4 commit 26e10c0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions R/spec_tools.R
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#' Generate viridis or other color code for continuous values
#'
#' @param x continuous vectors of values
#' @param alpha The alpha transparency, a number in [0,1],
#' @param begin The (corrected) hue in [0,1] at which the color map begins.
#' @param end The (corrected) hue in [0,1] at which the color map ends.
#' @param alpha The alpha transparency, a number in \[0,1\],
#' @param begin The (corrected) hue in \[0,1\] at which the color map begins.
#' @param end The (corrected) hue in \[0,1\] at which the color map ends.
#' @param direction Sets the order of colors in the scale. If 1, the default,
#' colors are ordered from darkest to lightest. If -1, the order of colors is
#' reversed.
Expand Down
6 changes: 3 additions & 3 deletions man/spec_color.Rd

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

0 comments on commit 26e10c0

Please sign in to comment.