Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
chaco / default_colors.py
Size: Mime:
# (C) Copyright 2005-2021 Enthought, Inc., Austin, TX
# All rights reserved.
#
# This software is provided without warranty under the terms of the BSD
# license included in LICENSE.txt and may be redistributed only under
# the conditions described in the aforementioned license. The license
# is also available online at http://www.enthought.com/licenses/BSD.txt
#
# Thanks for using Enthought open source!

"""List of nice color palettes for Chaco"""


# This is a palette of 10 nice colors to use for mapping/discrete
# color differentiation.  From ColorBrewer.
cbrewer = [
    (0.65098039, 0.80784314, 0.89019608, 1.0),
    (0.12156863, 0.47058824, 0.70588235, 1.0),
    (0.69803922, 0.8745098, 0.54117647, 1.0),
    (0.2, 0.62745098, 0.17254902, 1.0),
    (0.98431373, 0.60392157, 0.6, 1.0),
    (0.89019608, 0.10196078, 0.10980392, 1.0),
    (0.99215686, 0.74901961, 0.43529412, 1.0),
    (1.0, 0.49803922, 0.0, 1.0),
    (0.79215686, 0.69803922, 0.83921569, 1.0),
    (0.41568627, 0.23921569, 0.60392157, 1.0),
]

palette11 = [
    (0.725490, 0.329412, 0.615686, 1.0),
    (0.121569, 0.313725, 0.552941, 1.0),
    (0.376471, 0.525490, 0.082353, 1.0),
    (0.435294, 0.380392, 0.572549, 1.0),
    (0.988235, 0.400000, 0.600000, 1.0),
    (0.133333, 0.588235, 0.976471, 1.0),
    (0.992157, 0.600000, 0.400000, 1.0),
    (0.611765, 0.200000, 0.380392, 1.0),
    (0.388235, 0.647059, 0.537255, 1.0),
    (0.545098, 0.686275, 0.874510, 1.0),
    (0.623529, 0.501961, 0.862745, 1.0),
]

palette14 = [
    (0.286275, 0.235294, 0.545098, 1.0),
    (0.976471, 0.709804, 0.313725, 1.0),
    (0.850980, 0.094118, 0.521569, 1.0),
    (0.431373, 0.662745, 0.431373, 1.0),
    (0.803922, 0.345098, 0.345098, 1.0),
    (0.015686, 0.749020, 0.403922, 1.0),
    (0.694118, 0.686275, 0.580392, 1.0),
    (0.376471, 0.298039, 0.788235, 1.0),
    (0.992157, 0.396078, 0.011765, 1.0),
    (0.298039, 0.776471, 0.615686, 1.0),
    (0.988235, 0.407843, 0.686275, 1.0),
    (0.000000, 0.600000, 0.984314, 1.0),
    (0.470588, 0.917647, 0.478431, 1.0),
    (0.627451, 0.250980, 0.815686, 1.0),
]

PALETTES = [cbrewer, palette11, palette14]