1 7
from __future__ import absolute_import
2

3 7
from collections import namedtuple
4

5 7
SCALAR_MODE = namedtuple("SCALAR_MODE",
6
    "Default UsePointData UseCellData UsePointFieldData UseCellFieldData UseFieldData"
7
)(0, 1, 2, 3, 4, 5)
8

9 7
COLOR_MODE = namedtuple("COLOR_MODE", "DirectScalars MapScalars")(0, 1)
10

11 7
ACCESS_MODE = namedtuple("ACCESS_MODE", "ById ByName")(0, 1)
12

13 7
PRESET_CMAPS = [
14
    '2hot',
15
    'Asymmtrical Earth Tones (6_21b)',
16
    'BLUE-WHITE',
17
    'BkBu',
18
    'BkCy',
19
    'BkGn',
20
    'BkMa',
21
    'BkRd',
22
    'Black, Blue and White',
23
    'Black, Orange and White',
24
    'Black-Body Radiation',
25
    'Blue to Red Rainbow',
26
    'Blue to Yellow',
27
    'Blues',
28
    'BrBG',
29
    'BrOrYl',
30
    'BuGn',
31
    'BuGnYl',
32
    'BuPu',
33
    'BuRd',
34
    'CIELab Blue to Red',
35
    'CIELab_blue2red',
36
    'Cold and Hot',
37
    'Cool to Warm',
38
    'Cool to Warm (Extended)',
39
    'GBBr',
40
    'GREEN-WHITE_LINEAR',
41
    'GYPi',
42
    'GnBu',
43
    'GnBuPu',
44
    'GnRP',
45
    'GnYlRd',
46
    'Grayscale',
47
    'Green-Blue Asymmetric Divergent (62Blbc)',
48
    'Greens',
49
    'GyRd',
50
    'Haze',
51
    'Haze_cyan',
52
    'Haze_green',
53
    'Haze_lime',
54
    'Inferno (matplotlib)',
55
    'Linear Blue (8_31f)',
56
    'Linear YGB 1211g',
57
    'Magma (matplotlib)',
58
    'Muted Blue-Green',
59
    'OrPu',
60
    'Oranges',
61
    'PRGn',
62
    'PiYG',
63
    'Plasma (matplotlib)',
64
    'PuBu',
65
    'PuOr',
66
    'PuRd',
67
    'Purples',
68
    'RED-PURPLE',
69
    'RED_TEMPERATURE',
70
    'Rainbow Blended Black',
71
    'Rainbow Blended Grey',
72
    'Rainbow Blended White',
73
    'Rainbow Desaturated',
74
    'RdOr',
75
    'RdOrYl',
76
    'RdPu',
77
    'Red to Blue Rainbow',
78
    'Reds',
79
    'Spectral_lowBlue',
80
    'Viridis (matplotlib)',
81
    'Warm to Cool',
82
    'Warm to Cool (Extended)',
83
    'X Ray',
84
    'Yellow 15',
85
    'blot',
86
    'blue2cyan',
87
    'blue2yellow',
88
    'bone_Matlab',
89
    'coolwarm',
90
    'copper_Matlab',
91
    'erdc_blue2cyan_BW',
92
    'erdc_blue2gold',
93
    'erdc_blue2gold_BW',
94
    'erdc_blue2green_BW',
95
    'erdc_blue2green_muted',
96
    'erdc_blue2yellow',
97
    'erdc_blue_BW',
98
    'erdc_brown_BW',
99
    'erdc_cyan2orange',
100
    'erdc_divHi_purpleGreen',
101
    'erdc_divHi_purpleGreen_dim',
102
    'erdc_divLow_icePeach',
103
    'erdc_divLow_purpleGreen',
104
    'erdc_gold_BW',
105
    'erdc_green2yellow_BW',
106
    'erdc_iceFire_H',
107
    'erdc_iceFire_L',
108
    'erdc_magenta_BW',
109
    'erdc_marine2gold_BW',
110
    'erdc_orange_BW',
111
    'erdc_pbj_lin',
112
    'erdc_purple2green',
113
    'erdc_purple2green_dark',
114
    'erdc_purple2pink_BW',
115
    'erdc_purple_BW',
116
    'erdc_rainbow_bright',
117
    'erdc_rainbow_dark',
118
    'erdc_red2purple_BW',
119
    'erdc_red2yellow_BW',
120
    'erdc_red_BW',
121
    'erdc_sapphire2gold_BW',
122
    'gist_earth',
123
    'gray_Matlab',
124
    'heated_object',
125
    'hsv',
126
    'hue_L60',
127
    'jet',
128
    'magenta',
129
    'nic_CubicL',
130
    'nic_CubicYF',
131
    'nic_Edge',
132
    'pink_Matlab',
133
    'rainbow'
134
]

Read our documentation on viewing source code .

Loading