altair.theme.LegendResolveMapKwds#
- class altair.theme.LegendResolveMapKwds#
altair.LegendResolveMap
TypedDict
的包装器。- 参数:
- angle
- color
- fill
- fillOpacity
- opacity
- shape
- size
- stroke
- strokeDash
- strokeOpacity
- strokeWidth
- __init__(*args, **kwargs)#
方法
__init__
(*args, **kwargs)clear
()copy
()fromkeys
(iterable[, value])创建一个新字典,其键来自 iterable,值设置为 value。
get
(key[, default])如果 key 在字典中则返回 key 对应的值,否则返回 default。
items
()keys
()pop
(key[, default])如果找不到 key,则在提供了 default 时返回 default;否则,引发 KeyError。
popitem
(/)移除并返回一个 (键, 值) 对作为 2 元组。
setdefault
(key[, default])如果 key 不在字典中,则插入 key 并将其值设置为 default。
update
([E, ]**F)如果 E 存在且有 .keys() 方法,则执行:for k in E: D[k] = E[k]。如果 E 存在但没有 .keys() 方法,则执行:for k, v in E: D[k] = v。在任一情况下,之后都执行:for k in F: D[k] = F[k]。
values
()属性
angle
color
fill
fillOpacity
opacity
shape
size
stroke
strokeDash
strokeOpacity
strokeWidth