ThreeDDataSet takes an array of (x, y, z)-tuples and two
colors. z-values are used to interpolate between the two
colors so that the minimum matches the first color; the
maximum matches the second color; and intermediate values
interpolate between the min and max colors in HLS or RGB space.
Colors are specified as (r, g, b) tuples where r, g and b
are between 0 and 1, inclusive.
Methods
|
|
__init__
createItems
highlight
|
|
__init__
|
__init__ (
self,
data,
minColor,
maxColor,
interp='HLS',
**kw,
)
Exceptions
|
|
ValueError, 'unknown interpolation space'
|
|
|
createItems
|
createItems ( self )
|
|
highlight
|
highlight ( self, n )
|
|