Fix typos in color.Rd and example in palette_gen.Rd
This commit is contained in:
parent
cc8fab9a19
commit
47bf1ffa30
2 changed files with 2 additions and 2 deletions
|
|
@ -28,6 +28,6 @@ Hex codes named or unnamed.
|
|||
* All , categorical colors start with ", cat_";
|
||||
* All sequential colors start with "seq_";
|
||||
|
||||
Then, a number indi, cates the number of colors that belong to the palettes, a string the name of the palette, and, finally, a number the position of the color. E.g., "seq_5_red_4" would be the 4th color of a continuous palettes of 5 colors in the red band. Exception is made for white, light_grey, dark_grey, and black.
|
||||
Then, a number indicates the number of colors that belong to the palettes, a string the name of the palette, and, finally, a number the position of the color. E.g., "seq_5_red_4" would be the 4th color of a continuous palettes of 5 colors in the red band. Exception is made for white, light_grey, dark_grey, and black.
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ palette_gen(palette, type, direction = 1, ...)
|
|||
|
||||
palette_gen_categorical(palette = "cat_5_main", direction = 1)
|
||||
|
||||
palette_gen_sequential(palette = "seq_5_main", direction = 1, ...)
|
||||
palette_gen_sequential(palette = "cat_5_main", direction = 1, ...)
|
||||
}
|
||||
\arguments{
|
||||
\item{palette}{Palette name from [palette()].}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue