porescene.color.palette package¶
Submodules¶
Module contents¶
- class porescene.color.palette.Colormap(*values)[source]¶
Bases:
EnumAll colormaps bundled with
porescene.Each member’s value is the file name (without extension) of the corresponding colormap in
porescene/data/colormapand can be passed toPalette.load(). The collection comprisesColorBrewer, and
a selection of
matplotlibcolormaps.
See
porescene/data/colormap/README.txtfor the per-collection provenance and licenses.- ACCENT = 'Accent'¶
- ACTON = 'acton'¶
- ACTONS = 'actonS'¶
- ALGAE = 'algae'¶
- AMP = 'amp'¶
- BALANCE = 'balance'¶
- BAM = 'bam'¶
- BAMAKO = 'bamako'¶
- BAMAKOS = 'bamakoS'¶
- BAMO = 'bamO'¶
- BATLOW = 'batlow'¶
- BATLOWK = 'batlowK'¶
- BATLOWKS = 'batlowKS'¶
- BATLOWS = 'batlowS'¶
- BATLOWW = 'batlowW'¶
- BATLOWWS = 'batlowWS'¶
- BERLIN = 'berlin'¶
- BGY = 'bgy'¶
- BGYW = 'bgyw'¶
- BILBAO = 'bilbao'¶
- BILBAOS = 'bilbaoS'¶
- BJY = 'bjy'¶
- BKR = 'bkr'¶
- BKY = 'bky'¶
- BLUES = 'Blues'¶
- BMW = 'bmw'¶
- BMY = 'bmy'¶
- BRBG = 'BrBG'¶
- BROC = 'broc'¶
- BROCO = 'brocO'¶
- BUDA = 'buda'¶
- BUDAS = 'budaS'¶
- BUGN = 'BuGn'¶
- BUKAVU = 'bukavu'¶
- BUPU = 'BuPu'¶
- BWY = 'bwy'¶
- CIVIDIS = 'cividis'¶
- COLORWHEEL = 'colorwheel'¶
- COOLWARM = 'coolwarm'¶
- CORK = 'cork'¶
- CORKO = 'corkO'¶
- CUBEHELIX = 'cubehelix'¶
- CURL = 'curl'¶
- CWR = 'cwr'¶
- DARK2 = 'Dark2'¶
- DAVOS = 'davos'¶
- DAVOSS = 'davosS'¶
- DEEP = 'deep'¶
- DELTA = 'delta'¶
- DENSE = 'dense'¶
- DEVON = 'devon'¶
- DEVONS = 'devonS'¶
- DIFF = 'diff'¶
- DIMGRAY = 'dimgray'¶
- EMBER = 'ember'¶
- FES = 'fes'¶
- FIRE = 'fire'¶
- GLASGOW = 'glasgow'¶
- GLASGOWS = 'glasgowS'¶
- GNBU = 'GnBu'¶
- GOULDIAN = 'gouldian'¶
- GRAY = 'gray'¶
- GRAYC = 'grayC'¶
- GRAYCS = 'grayCS'¶
- GREENS = 'Greens'¶
- GREYS = 'Greys'¶
- GWV = 'gwv'¶
- HALINE = 'haline'¶
- HAWAII = 'hawaii'¶
- HAWAIIS = 'hawaiiS'¶
- ICE = 'ice'¶
- IMOLA = 'imola'¶
- IMOLAS = 'imolaS'¶
- INFERNO = 'inferno'¶
- ISOLUM = 'isolum'¶
- KB = 'kb'¶
- KBC = 'kbc'¶
- KBGYW = 'kbgyw'¶
- KG = 'kg'¶
- KGY = 'kgy'¶
- KR = 'kr'¶
- LAJOLLA = 'lajolla'¶
- LAJOLLAS = 'lajollaS'¶
- LAPAZ = 'lapaz'¶
- LAPAZS = 'lapazS'¶
- LIPARI = 'lipari'¶
- LIPARIS = 'lipariS'¶
- LISBON = 'lisbon'¶
- MAGMA = 'magma'¶
- MANAGUA = 'managua'¶
- MATTER = 'matter'¶
- NAVIA = 'navia'¶
- NAVIAS = 'naviaS'¶
- NUUK = 'nuuk'¶
- NUUKS = 'nuukS'¶
- OLERON = 'oleron'¶
- ORANGES = 'Oranges'¶
- ORRD = 'OrRd'¶
- OSLO = 'oslo'¶
- OSLOS = 'osloS'¶
- OXY = 'oxy'¶
- PAIRED = 'Paired'¶
- PASTEL1 = 'Pastel1'¶
- PASTEL2 = 'Pastel2'¶
- PHASE = 'phase'¶
- PIYG = 'PiYG'¶
- PLASMA = 'plasma'¶
- PRGN = 'PRGn'¶
- PUBU = 'PuBu'¶
- PUBUGN = 'PuBuGn'¶
- PUOR = 'PuOr'¶
- PURD = 'PuRd'¶
- PURPLES = 'Purples'¶
- RAIN = 'rain'¶
- RAINBOW = 'rainbow'¶
- RAINBOW4 = 'rainbow4'¶
- RDBU = 'RdBu'¶
- RDGY = 'RdGy'¶
- RDPU = 'RdPu'¶
- RDYLBU = 'RdYlBu'¶
- RDYLGN = 'RdYlGn'¶
- REDS = 'Reds'¶
- ROMA = 'roma'¶
- ROMAO = 'romaO'¶
- SET1 = 'Set1'¶
- SET2 = 'Set2'¶
- SET3 = 'Set3'¶
- SOLAR = 'solar'¶
- SPECTRAL = 'Spectral'¶
- SPEED = 'speed'¶
- TAB10 = 'tab10'¶
- TARN = 'tarn'¶
- TEMPO = 'tempo'¶
- THERMAL = 'thermal'¶
- TOFINO = 'tofino'¶
- TOKYO = 'tokyo'¶
- TOKYOS = 'tokyoS'¶
- TOPO = 'topo'¶
- TURBID = 'turbid'¶
- TURBO = 'turbo'¶
- TURKU = 'turku'¶
- TURKUS = 'turkuS'¶
- TWILIGHT = 'twilight'¶
- VANIMO = 'vanimo'¶
- VIK = 'vik'¶
- VIKO = 'vikO'¶
- VIRIDIS = 'viridis'¶
- YLGN = 'YlGn'¶
- YLGNBU = 'YlGnBu'¶
- YLORBR = 'YlOrBr'¶
- YLORRD = 'YlOrRd'¶
- class porescene.color.palette.Palette(colors)[source]¶
Bases:
objectA basic wrapper for a collection of selected colors.
- classmethod load(name)[source]¶
Creates a
Paletteinstance by loading colormap data from file.poresceneincludes a large set of scientific colormaps, including:matplotlibcolormaps