altair.theme.RadialGradientKwds#
- class altair.theme.RadialGradientKwds#
altair.RadialGradient
TypedDict
wrapper.- Parameters:
- gradient
The type of gradient. Use
"radial"
for a radial gradient.- stops
An array of gradient stops defining the gradient color sequence.
- id
- r1
The radius length, in normalized [0, 1] coordinates, of the inner circle for the gradient.
Default value:
0
- r2
The radius length, in normalized [0, 1] coordinates, of the outer circle for the gradient.
Default value:
0.5
- x1
The x-coordinate, in normalized [0, 1] coordinates, for the center of the inner circle for the gradient.
Default value:
0.5
- x2
The x-coordinate, in normalized [0, 1] coordinates, for the center of the outer circle for the gradient.
Default value:
0.5
- y1
The y-coordinate, in normalized [0, 1] coordinates, for the center of the inner circle for the gradient.
Default value:
0.5
- y2
The y-coordinate, in normalized [0, 1] coordinates, for the center of the outer circle for the gradient.
Default value:
0.5
- __init__(*args, **kwargs)#
Methods
__init__
(*args, **kwargs)clear
()copy
()fromkeys
(iterable[, value])Create a new dictionary with keys from iterable and values set to value.
get
(key[, default])Return the value for key if key is in the dictionary, else default.
items
()keys
()pop
(key[, default])If the key is not found, return the default if given; otherwise, raise a KeyError.
popitem
(/)Remove and return a (key, value) pair as a 2-tuple.
setdefault
(key[, default])Insert key with a value of default if key is not in the dictionary.
update
([E, ]**F)If E is present and has a .keys() method, then does: for k in E: D[k] = E[k] If E is present and lacks a .keys() method, then does: for k, v in E: D[k] = v In either case, this is followed by: for k in F: D[k] = F[k]
values
()Attributes
gradient
stops
id
r1
r2
x1
x2
y1
y2