Skip to content

Commit

Permalink
Merge pull request #999 from scilus/fix/base10_colors
Browse files Browse the repository at this point in the history
[FIX] 10 colors in BASE10 colors for visualization
  • Loading branch information
arnaudbore committed Jun 18, 2024
2 parents 070d713 + 3191a0b commit 99ad51e
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions scilpy/viz/color.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,16 @@ def convert_color_names_to_rgb(names):
return [get_color_by_name(name) for name in names]


BASE_10_COLORS = convert_color_names_to_rgb(["Blue",
"Yellow",
BASE_10_COLORS = convert_color_names_to_rgb(["Red",
"DeepPink",
"Orange",
"Gold",
"Purple",
"Magenta",
"Green",
"Orange",
"White",
"Brown",
"Grey"])
"Blue",
"Cyan",
"Brown"])


def generate_n_colors(n, generator=distinguishable_colormap,
Expand Down

0 comments on commit 99ad51e

Please sign in to comment.