<filename>script/DefaultPalette.py
def default_palette():
    return [
    "white", 

## begin Book Chapter: three high-contrast grayscale figures
#    "#FFCC66", # yellow / light
#    "#000088", # blue   / dark
#    "#00CC00", # green  / medium light
#    "#FF0000", # red    / medium dark
## end Book Chapter
## begin KDD: for making grayscale figures
#   "#FF4040",  # red
#   "#66FF66",  # green
#   "#4040FF",  # blue
#   "#FFFF50",  # yellow
#   "#FF88FF",  # purple
## end KDD
# crayon colors
#   "red", "green", "blue", "yellow", "purple", "brown", 
    "#FFCC66", "#CCFF66", "#66CCFF", "#CC66FF", "#FF6666", "#FFFF66", "#66FF66", "#6666FF", 
    "#FF8000", "#80FF00", "#0080FF", "#8000FF", "#FF0080", "#FF0000", "#FFFF00", "#00FF00", 
    "#00FFFF", "#0000FF", "#FF00FF", "#804000", "#408000", "#004080", "#400080", "#804000",
    "#ff8888", "#88ff88", "#8888ff", "#ffff88", "#ff88ff", "#88ffff", 

    # these colors are too undistinguishable from the above colors
    # "#4488ff", "#44ff88", "#8844ff", "#88ff44", "#ff8844", "#ff4488", 
    #

    "#cc4444", "#44cc44", "#4444cc", "#cccc44", "#cc44cc", "#44cccc", 
    "#2244cc", "#22cc44", "#4422cc", "#44cc22", "#cc4422", "#cc2244", 
     #"#ff0000", used to show cost */
    "#00ff00", "#0000ff", "#ffff00", "#00ffff", "#ff00ff", 
    "#dddddd", "#bbbbbb", "#999999", "#777777", "#555555", "#333333", 

    # -1 color
    "#ffffff", "#ffffff", "#ffffff", "#ffffff", "#ffffff", "#ffffff", "#ffffff", "#ffffff",
    "#ffffff", "#ffffff", "#ffffff", "#ffffff", "#ffffff", "#ffffff", "#ffffff", "#ffffff",
    "#ffffff", "#ffffff", "#ffffff", "#ffffff", "#ffffff", "#ffffff", "#ffffff", "#ffffff",
    "#ffffff", "#ffffff", "#ffffff", "#ffffff", "#ffffff", "#ffffff", "#ffffff", "#ffffff",
]


<filename>script/DefaultPalette.py
def default_palette():
    return [
    "white", 

## begin Book Chapter: three high-contrast grayscale figures
#    "#FFCC66", # yellow / light
#    "#000088", # blue   / dark
#    "#00CC00", # green  / medium light
#    "#FF0000", # red    / medium dark
## end Book Chapter
## begin KDD: for making grayscale figures
#   "#FF4040",  # red
#   "#66FF66",  # green
#   "#4040FF",  # blue
#   "#FFFF50",  # yellow
#   "#FF88FF",  # purple
## end KDD
# crayon colors
#   "red", "green", "blue", "yellow", "purple", "brown", 
    "#FFCC66", "#CCFF66", "#66CCFF", "#CC66FF", "#FF6666", "#FFFF66", "#66FF66", "#6666FF", 
    "#FF8000", "#80FF00", "#0080FF", "#8000FF", "#FF0080", "#FF0000", "#FFFF00", "#00FF00", 
    "#00FFFF", "#0000FF", "#FF00FF", "#804000", "#408000", "#004080", "#400080", "#804000",
    "#ff8888", "#88ff88", "#8888ff", "#ffff88", "#ff88ff", "#88ffff", 

    # these colors are too undistinguishable from the above colors
    # "#4488ff", "#44ff88", "#8844ff", "#88ff44", "#ff8844", "#ff4488", 
    #

    "#cc4444", "#44cc44", "#4444cc", "#cccc44", "#cc44cc", "#44cccc", 
    "#2244cc", "#22cc44", "#4422cc", "#44cc22", "#cc4422", "#cc2244", 
     #"#ff0000", used to show cost */
    "#00ff00", "#0000ff", "#ffff00", "#00ffff", "#ff00ff", 
    "#dddddd", "#bbbbbb", "#999999", "#777777", "#555555", "#333333", 

    # -1 color
    "#ffffff", "#ffffff", "#ffffff", "#ffffff", "#ffffff", "#ffffff", "#ffffff", "#ffffff",
    "#ffffff", "#ffffff", "#ffffff", "#ffffff", "#ffffff", "#ffffff", "#ffffff", "#ffffff",
    "#ffffff", "#ffffff", "#ffffff", "#ffffff", "#ffffff", "#ffffff", "#ffffff", "#ffffff",
    "#ffffff", "#ffffff", "#ffffff", "#ffffff", "#ffffff", "#ffffff", "#ffffff", "#ffffff",
]


## begin Book Chapter: three high-contrast grayscale figures #    "#FFCC66", # yellow / light #    "#000088", # blue   / dark #    "#00CC00", # green  / medium light #    "#FF0000", # red    / medium dark ## end Book Chapter ## begin KDD: for making grayscale figures #   "#FF4040",  # red #   "#66FF66",  # green #   "#4040FF",  # blue #   "#FFFF50",  # yellow #   "#FF88FF",  # purple ## end KDD # crayon colors #   "red", "green", "blue", "yellow", "purple", "brown", # these colors are too undistinguishable from the above colors # "#4488ff", "#44ff88", "#8844ff", "#88ff44", "#ff8844", "#ff4488", # #"#ff0000", used to show cost */ # -1 color