Skip to content

Commit

Permalink
rename color.csv
Browse files Browse the repository at this point in the history
  • Loading branch information
Benoit Thieurmel committed Sep 29, 2021
1 parent cab66ac commit 84d1fcc
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/map_helpers.R
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@
if(is.null(optsArea$Ra)){optsArea$Ra <- width}
# Update areas

#Apply colors defined in color.csv
#Apply colors defined in colors_map.csv
if(is.null(options$areaChartColors))
{
varS <- names(optsArea$maxSize)
Expand Down
2 changes: 1 addition & 1 deletion R/zzz.R
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ language_columns[, tmp_row := NULL]
}

# map color
colorsVars <- fread(input = system.file("color.csv", package = "antaresViz"))
colorsVars <- fread(input = system.file("colors_map.csv", package = "antaresViz"))
colorsVars <- unique(colorsVars, by = "Column")
colorsVars$colors <- rgb(colorsVars$red, colorsVars$green, colorsVars$blue, maxColorValue = 255)

Expand Down
File renamed without changes.

0 comments on commit 84d1fcc

Please sign in to comment.