Skip to content

Commit

Permalink
Fix some comment labelling in palettes
Browse files Browse the repository at this point in the history
  • Loading branch information
ivirshup committed Feb 24, 2021
1 parent d040ce9 commit d654852
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions scanpy/plotting/palettes.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,15 @@

# reorderd, some removed, some added
vega_20_scanpy = [
# dark without grey:
*vega_20[0:14:2],
*vega_20[16::2], # dark without grey
*vega_20[16::2],
# light without grey:
*vega_20[1:15:2],
*vega_20[17::2], # light without grey
*vega_20[17::2],
# manual additions:
'#ad494a',
'#8c6d31', # manual additions
'#8c6d31',
]
vega_20_scanpy[2] = vega_10_scanpy[2]
vega_20_scanpy[4] = vega_10_scanpy[4]
Expand Down Expand Up @@ -58,10 +61,11 @@
"#f3e1eb",
"#f6c4e1",
"#f79cd4",
# these last ones were added:
'#7f7f7f',
"#c7c7c7",
"#1CE6FF",
"#336600", # these last ones were added,
"#336600",
]

default_28 = zeileis_28
Expand Down

0 comments on commit d654852

Please sign in to comment.