Skip to content

Commit

Permalink
chore: code cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
turban committed Sep 25, 2023
1 parent cbfec97 commit 31d9765
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/util/colors.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@ export const colorScales = [
]

// Returns a color brewer scale for a number of classes
export const getColorPalette = (scale, classes) => {
return colorbrewer[scale][classes]
}
export const getColorPalette = (scale, classes) => colorbrewer[scale][classes]

// Returns color scale name for a palette
// join(',') is used to compare two arrays of colors
Expand Down

0 comments on commit 31d9765

Please sign in to comment.