From 47bf1ffa3027ac7936e756e9625b3409d1baf8eb Mon Sep 17 00:00:00 2001 From: gnoblet Date: Wed, 2 Jul 2025 09:12:16 +0200 Subject: [PATCH] Fix typos in color.Rd and example in palette_gen.Rd --- man/color.Rd | 2 +- man/palette_gen.Rd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/man/color.Rd b/man/color.Rd index 12dc8e6..982fe5e 100644 --- a/man/color.Rd +++ b/man/color.Rd @@ -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. } diff --git a/man/palette_gen.Rd b/man/palette_gen.Rd index adea64a..1fe26c3 100644 --- a/man/palette_gen.Rd +++ b/man/palette_gen.Rd @@ -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()].}