altair.ErrorBarConfig#
- class altair.ErrorBarConfig(extent=Undefined, rule=Undefined, size=Undefined, thickness=Undefined, ticks=Undefined, **kwds)#
ErrorBarConfig 模式封装器。
- 参数:
- 范围
ErrorBarExtent
, Literal[‘ci’, ‘iqr’, ‘stderr’, ‘stdev’] 规则的范围。可用选项包括
"ci"
: 将规则扩展到均值的置信区间。"stderr"
: 规则的大小设置为标准误差的值,从均值延伸。"stdev"
: 规则的大小设置为标准差的值,从均值延伸。"iqr"
: 将规则扩展到 q1 和 q3。
默认值:
"stderr"
。- rulebool, dict,
BarConfig
,AreaConfig
,LineConfig
,MarkConfig
,RectConfig
,TickConfig
,AnyMarkConfig
- 大小float
误差条刻度的大小
- 粗细float
误差条的刻度和条的粗细
- 刻度bool, dict,
BarConfig
,AreaConfig
,LineConfig
,MarkConfig
,RectConfig
,TickConfig
,AnyMarkConfig
- 范围
- __init__(extent=Undefined, rule=Undefined, size=Undefined, thickness=Undefined, ticks=Undefined, **kwds)#
方法
__init__
([extent, rule, size, thickness, ticks])返回对象的副本。
返回对象的副本。
from_dict
(dct[, validate])从字典表示构造类。
from_json
(json_string[, validate])从有效的 JSON 字符串实例化对象。
resolve_references
([schema])在此对象的模式或根模式的上下文中解析引用。
to_dict
([validate, ignore, context])返回对象的字典表示。
to_json
([validate, indent, sort_keys, ...])将此对象的 JSON 表示作为字符串发出。
validate
(instance[, schema])在根模式的上下文中根据类模式验证实例。
validate_property
(name, value[, schema])在根模式的上下文中根据属性模式验证属性。