This website is for version 5. You can find the documentation for version 4 here.

altair.StyleConfigIndex#

class altair.StyleConfigIndex(arc=Undefined, area=Undefined, bar=Undefined, circle=Undefined, geoshape=Undefined, image=Undefined, line=Undefined, mark=Undefined, point=Undefined, rect=Undefined, rule=Undefined, square=Undefined, text=Undefined, tick=Undefined, trail=Undefined, **kwds)#

StyleConfigIndex schema wrapper

Parameters:
arcdict, RectConfig

Arc-specific Config

areadict, AreaConfig

Area-Specific Config

bardict, BarConfig

Bar-Specific Config

circledict, MarkConfig

Circle-Specific Config

geoshapedict, MarkConfig

Geoshape-Specific Config

imagedict, RectConfig

Image-specific Config

linedict, LineConfig

Line-Specific Config

markdict, MarkConfig

Mark Config

pointdict, MarkConfig

Point-Specific Config

rectdict, RectConfig

Rect-Specific Config

ruledict, MarkConfig

Rule-Specific Config

squaredict, MarkConfig

Square-Specific Config

textdict, MarkConfig

Text-Specific Config

tickdict, TickConfig

Tick-Specific Config

traildict, LineConfig

Trail-Specific Config

group-subtitledict, MarkConfig

Default style for chart subtitles

group-titledict, MarkConfig

Default style for chart titles

guide-labeldict, MarkConfig

Default style for axis, legend, and header labels.

guide-titledict, MarkConfig

Default style for axis, legend, and header titles.

__init__(arc=Undefined, area=Undefined, bar=Undefined, circle=Undefined, geoshape=Undefined, image=Undefined, line=Undefined, mark=Undefined, point=Undefined, rect=Undefined, rule=Undefined, square=Undefined, text=Undefined, tick=Undefined, trail=Undefined, **kwds)#

Methods

__init__([arc, area, bar, circle, geoshape, ...])

copy([deep, ignore])

Return a copy of the object

from_dict(dct[, validate, _wrapper_classes])

Construct class from a dictionary representation

from_json(json_string[, validate])

Instantiate the object from a valid JSON string

resolve_references([schema])

Resolve references in the context of this object's schema or root schema.

to_dict([validate, ignore, context])

Return a dictionary representation of the object

to_json([validate, indent, sort_keys, ...])

Emit the JSON representation for this object as a string.

validate(instance[, schema])

Validate the instance against the class schema in the context of the rootschema.

validate_property(name, value[, schema])

Validate a property against property schema in the context of the rootschema