API Reference#

This is the class and function reference of Altair, and the following content is generated automatically from the code documentation strings. Please refer to the full user guide for further details, as this low-level documentation may not be enough to give full guidelines on their use.

Top-Level Objects#

Chart

Create a basic Altair/Vega-Lite chart.

ConcatChart

A chart with horizontally-concatenated facets.

FacetChart

A Chart with layers within a single panel.

HConcatChart

A chart with horizontally-concatenated facets.

LayerChart

A Chart with layers within a single panel.

RepeatChart

A chart repeated across rows and columns with small changes.

TopLevelMixin

Mixin for top-level chart objects such as Chart, LayeredChart, etc.

VConcatChart

A chart with vertically-concatenated facets.

Encoding Channels#

Angle

Angle schema wrapper.

AngleDatum

AngleDatum schema wrapper.

AngleValue

AngleValue schema wrapper.

Color

Color schema wrapper.

ColorDatum

ColorDatum schema wrapper.

ColorValue

ColorValue schema wrapper.

Column

Column schema wrapper.

Description

Description schema wrapper.

DescriptionValue

DescriptionValue schema wrapper.

Detail

Detail schema wrapper.

Facet

Facet schema wrapper.

Fill

Fill schema wrapper.

FillDatum

FillDatum schema wrapper.

FillOpacity

FillOpacity schema wrapper.

FillOpacityDatum

FillOpacityDatum schema wrapper.

FillOpacityValue

FillOpacityValue schema wrapper.

FillValue

FillValue schema wrapper.

Href

Href schema wrapper.

HrefValue

HrefValue schema wrapper.

Key

Key schema wrapper.

Latitude

Latitude schema wrapper.

Latitude2

Latitude2 schema wrapper.

Latitude2Datum

Latitude2Datum schema wrapper.

Latitude2Value

Latitude2Value schema wrapper.

LatitudeDatum

LatitudeDatum schema wrapper.

Longitude

Longitude schema wrapper.

Longitude2

Longitude2 schema wrapper.

Longitude2Datum

Longitude2Datum schema wrapper.

Longitude2Value

Longitude2Value schema wrapper.

LongitudeDatum

LongitudeDatum schema wrapper.

Opacity

Opacity schema wrapper.

OpacityDatum

OpacityDatum schema wrapper.

OpacityValue

OpacityValue schema wrapper.

Order

Order schema wrapper.

OrderValue

OrderValue schema wrapper.

Radius

Radius schema wrapper.

Radius2

Radius2 schema wrapper.

Radius2Datum

Radius2Datum schema wrapper.

Radius2Value

Radius2Value schema wrapper.

RadiusDatum

RadiusDatum schema wrapper.

RadiusValue

RadiusValue schema wrapper.

Row

Row schema wrapper.

Shape

Shape schema wrapper.

ShapeDatum

ShapeDatum schema wrapper.

ShapeValue

ShapeValue schema wrapper.

Size

Size schema wrapper.

SizeDatum

SizeDatum schema wrapper.

SizeValue

SizeValue schema wrapper.

Stroke

Stroke schema wrapper.

StrokeDash

StrokeDash schema wrapper.

StrokeDashDatum

StrokeDashDatum schema wrapper.

StrokeDashValue

StrokeDashValue schema wrapper.

StrokeDatum

StrokeDatum schema wrapper.

StrokeOpacity

StrokeOpacity schema wrapper.

StrokeOpacityDatum

StrokeOpacityDatum schema wrapper.

StrokeOpacityValue

StrokeOpacityValue schema wrapper.

StrokeValue

StrokeValue schema wrapper.

StrokeWidth

StrokeWidth schema wrapper.

StrokeWidthDatum

StrokeWidthDatum schema wrapper.

StrokeWidthValue

StrokeWidthValue schema wrapper.

Text

Text schema wrapper.

TextDatum

TextDatum schema wrapper.

TextValue

TextValue schema wrapper.

Theta

Theta schema wrapper.

Theta2

Theta2 schema wrapper.

Theta2Datum

Theta2Datum schema wrapper.

Theta2Value

Theta2Value schema wrapper.

ThetaDatum

ThetaDatum schema wrapper.

ThetaValue

ThetaValue schema wrapper.

Tooltip

Tooltip schema wrapper.

TooltipValue

TooltipValue schema wrapper.

Url

Url schema wrapper.

UrlValue

UrlValue schema wrapper.

X

X schema wrapper.

X2

X2 schema wrapper.

X2Datum

X2Datum schema wrapper.

X2Value

X2Value schema wrapper.

XDatum

XDatum schema wrapper.

XError

XError schema wrapper.

XError2

XError2 schema wrapper.

XError2Value

XError2Value schema wrapper.

XErrorValue

XErrorValue schema wrapper.

XOffset

XOffset schema wrapper.

XOffsetDatum

XOffsetDatum schema wrapper.

XOffsetValue

XOffsetValue schema wrapper.

XValue

XValue schema wrapper.

Y

Y schema wrapper.

Y2

Y2 schema wrapper.

Y2Datum

Y2Datum schema wrapper.

Y2Value

Y2Value schema wrapper.

YDatum

YDatum schema wrapper.

YError

YError schema wrapper.

YError2

YError2 schema wrapper.

YError2Value

YError2Value schema wrapper.

YErrorValue

YErrorValue schema wrapper.

YOffset

YOffset schema wrapper.

YOffsetDatum

YOffsetDatum schema wrapper.

YOffsetValue

YOffsetValue schema wrapper.

YValue

YValue schema wrapper.

API Functions#

binding

A generic binding.

binding_checkbox

A checkbox binding.

binding_radio

A radio button binding.

binding_range

A range binding.

binding_select

A select binding.

check_fields_and_encodings

concat

Concatenate charts horizontally.

condition

A conditional attribute or encoding.

graticule

Graticule generator.

hconcat

Concatenate charts horizontally.

layer

Layer multiple charts.

param

Create a named parameter, see https://altair-viz.github.io/user_guide/interactions.html for examples.

repeat

Tie a channel to the row or column within a repeated chart.

selection_interval

Create an interval selection parameter.

selection_point

Create a point selection parameter.

sequence

Sequence generator.

sphere

Sphere generator.

topo_feature

A convenience function for extracting features from a topojson url.

value

Specify a value for use in an encoding.

vconcat

Concatenate charts vertically.

when

Start a when-then-otherwise condition.

Theme#

active

Return the name of the currently active theme.

enable

Enable a theme by name.

get

Return the currently active theme.

names

Return the names of the registered and entry points themes.

options

Return the current themes options dictionary.

register

Decorator for registering a theme function.

unregister

Remove and return a previously registered theme.

ThemeConfig

Top-Level Configuration TypedDict for creating a consistent theme.

AreaConfigKwds

altair.AreaConfig TypedDict wrapper.

AutoSizeParamsKwds

altair.AutoSizeParams TypedDict wrapper.

AxisConfigKwds

altair.AxisConfig TypedDict wrapper.

AxisResolveMapKwds

altair.AxisResolveMap TypedDict wrapper.

BarConfigKwds

altair.BarConfig TypedDict wrapper.

BindCheckboxKwds

altair.BindCheckbox TypedDict wrapper.

BindDirectKwds

altair.BindDirect TypedDict wrapper.

BindInputKwds

altair.BindInput TypedDict wrapper.

BindRadioSelectKwds

altair.BindRadioSelect TypedDict wrapper.

BindRangeKwds

altair.BindRange TypedDict wrapper.

BoxPlotConfigKwds

altair.BoxPlotConfig TypedDict wrapper.

BrushConfigKwds

altair.BrushConfig TypedDict wrapper.

CompositionConfigKwds

altair.CompositionConfig TypedDict wrapper.

ConfigKwds

altair.Config TypedDict wrapper.

DateTimeKwds

altair.DateTime TypedDict wrapper.

DerivedStreamKwds

altair.DerivedStream TypedDict wrapper.

ErrorBandConfigKwds

altair.ErrorBandConfig TypedDict wrapper.

ErrorBarConfigKwds

altair.ErrorBarConfig TypedDict wrapper.

FeatureGeometryGeoJsonPropertiesKwds

altair.FeatureGeometryGeoJsonProperties TypedDict wrapper.

FormatConfigKwds

altair.FormatConfig TypedDict wrapper.

GeoJsonFeatureCollectionKwds

altair.GeoJsonFeatureCollection TypedDict wrapper.

GeoJsonFeatureKwds

altair.GeoJsonFeature TypedDict wrapper.

GeometryCollectionKwds

altair.GeometryCollection TypedDict wrapper.

GradientStopKwds

altair.GradientStop TypedDict wrapper.

HeaderConfigKwds

altair.HeaderConfig TypedDict wrapper.

IntervalSelectionConfigKwds

altair.IntervalSelectionConfig TypedDict wrapper.

IntervalSelectionConfigWithoutTypeKwds

altair.IntervalSelectionConfigWithoutType TypedDict wrapper.

LegendConfigKwds

altair.LegendConfig TypedDict wrapper.

LegendResolveMapKwds

altair.LegendResolveMap TypedDict wrapper.

LegendStreamBindingKwds

altair.LegendStreamBinding TypedDict wrapper.

LineConfigKwds

altair.LineConfig TypedDict wrapper.

LineStringKwds

altair.LineString TypedDict wrapper.

LinearGradientKwds

altair.LinearGradient TypedDict wrapper.

LocaleKwds

altair.Locale TypedDict wrapper.

MarkConfigKwds

altair.MarkConfig TypedDict wrapper.

MergedStreamKwds

altair.MergedStream TypedDict wrapper.

MultiLineStringKwds

altair.MultiLineString TypedDict wrapper.

MultiPointKwds

altair.MultiPoint TypedDict wrapper.

MultiPolygonKwds

altair.MultiPolygon TypedDict wrapper.

NumberLocaleKwds

altair.NumberLocale TypedDict wrapper.

OverlayMarkDefKwds

altair.OverlayMarkDef TypedDict wrapper.

PaddingKwds

PointKwds

altair.Point TypedDict wrapper.

PointSelectionConfigKwds

altair.PointSelectionConfig TypedDict wrapper.

PointSelectionConfigWithoutTypeKwds

altair.PointSelectionConfigWithoutType TypedDict wrapper.

PolygonKwds

altair.Polygon TypedDict wrapper.

ProjectionConfigKwds

altair.ProjectionConfig TypedDict wrapper.

ProjectionKwds

altair.Projection TypedDict wrapper.

RadialGradientKwds

altair.RadialGradient TypedDict wrapper.

RangeConfigKwds

altair.RangeConfig TypedDict wrapper.

RectConfigKwds

altair.RectConfig TypedDict wrapper.

ResolveKwds

altair.Resolve TypedDict wrapper.

RowColKwds

A Generic two-item dict.

ScaleConfigKwds

altair.ScaleConfig TypedDict wrapper.

ScaleInvalidDataConfigKwds

altair.ScaleInvalidDataConfig TypedDict wrapper.

ScaleResolveMapKwds

altair.ScaleResolveMap TypedDict wrapper.

SelectionConfigKwds

altair.SelectionConfig TypedDict wrapper.

StepKwds

altair.Step TypedDict wrapper.

StyleConfigIndexKwds

altair.StyleConfigIndex TypedDict wrapper.

TickConfigKwds

altair.TickConfig TypedDict wrapper.

TimeIntervalStepKwds

altair.TimeIntervalStep TypedDict wrapper.

TimeLocaleKwds

altair.TimeLocale TypedDict wrapper.

TitleConfigKwds

altair.TitleConfig TypedDict wrapper.

TitleParamsKwds

altair.TitleParams TypedDict wrapper.

TooltipContentKwds

altair.TooltipContent TypedDict wrapper.

TopLevelSelectionParameterKwds

altair.TopLevelSelectionParameter TypedDict wrapper.

VariableParameterKwds

altair.VariableParameter TypedDict wrapper.

ViewBackgroundKwds

altair.ViewBackground TypedDict wrapper.

ViewConfigKwds

altair.ViewConfig TypedDict wrapper.

Low-Level Schema Wrappers#

Aggregate

Aggregate schema wrapper.

AggregateOp

AggregateOp schema wrapper.

AggregateTransform

AggregateTransform schema wrapper.

AggregatedFieldDef

AggregatedFieldDef schema wrapper.

Align

Align schema wrapper.

AllSortString

AllSortString schema wrapper.

AnyMark

AnyMark schema wrapper.

AnyMarkConfig

AnyMarkConfig schema wrapper.

AreaConfig

AreaConfig schema wrapper.

ArgmaxDef

ArgmaxDef schema wrapper.

ArgminDef

ArgminDef schema wrapper.

AutoSizeParams

AutoSizeParams schema wrapper.

AutosizeType

AutosizeType schema wrapper.

Axis

Axis schema wrapper.

AxisConfig

AxisConfig schema wrapper.

AxisOrient

AxisOrient schema wrapper.

AxisResolveMap

AxisResolveMap schema wrapper.

BBox

BBox schema wrapper.

BarConfig

BarConfig schema wrapper.

BaseTitleNoValueRefs

BaseTitleNoValueRefs schema wrapper.

Baseline

Baseline schema wrapper.

BinExtent

BinExtent schema wrapper.

BinParams

BinParams schema wrapper.

BinTransform

BinTransform schema wrapper.

BindCheckbox

BindCheckbox schema wrapper.

BindDirect

BindDirect schema wrapper.

BindInput

BindInput schema wrapper.

BindRadioSelect

BindRadioSelect schema wrapper.

BindRange

BindRange schema wrapper.

Binding

Binding schema wrapper.

BinnedTimeUnit

BinnedTimeUnit schema wrapper.

Blend

Blend schema wrapper.

BoxPlot

BoxPlot schema wrapper.

BoxPlotConfig

BoxPlotConfig schema wrapper.

BoxPlotDef

BoxPlotDef schema wrapper.

BrushConfig

BrushConfig schema wrapper.

CalculateTransform

CalculateTransform schema wrapper.

Categorical

Categorical schema wrapper.

ColorDef

ColorDef schema wrapper.

ColorName

ColorName schema wrapper.

ColorScheme

ColorScheme schema wrapper.

CompositeMark

CompositeMark schema wrapper.

CompositeMarkDef

CompositeMarkDef schema wrapper.

CompositionConfig

CompositionConfig schema wrapper.

ConcatSpecGenericSpec

ConcatSpecGenericSpec schema wrapper.

ConditionalAxisColor

ConditionalAxisColor schema wrapper.

ConditionalAxisLabelAlign

ConditionalAxisLabelAlign schema wrapper.

ConditionalAxisLabelBaseline

ConditionalAxisLabelBaseline schema wrapper.

ConditionalAxisLabelFontStyle

ConditionalAxisLabelFontStyle schema wrapper.

ConditionalAxisLabelFontWeight

ConditionalAxisLabelFontWeight schema wrapper.

ConditionalAxisNumber

ConditionalAxisNumber schema wrapper.

ConditionalAxisNumberArray

ConditionalAxisNumberArray schema wrapper.

ConditionalAxisPropertyAlignnull

ConditionalAxisPropertyAlignnull schema wrapper.

ConditionalAxisPropertyColornull

ConditionalAxisPropertyColornull schema wrapper.

ConditionalAxisPropertyFontStylenull

ConditionalAxisPropertyFontStylenull schema wrapper.

ConditionalAxisPropertyFontWeightnull

ConditionalAxisPropertyFontWeightnull schema wrapper.

ConditionalAxisPropertyTextBaselinenull

ConditionalAxisPropertyTextBaselinenull schema wrapper.

ConditionalAxisPropertynumberArraynull

ConditionalAxisPropertynumberArraynull schema wrapper.

ConditionalAxisPropertynumbernull

ConditionalAxisPropertynumbernull schema wrapper.

ConditionalAxisPropertystringnull

ConditionalAxisPropertystringnull schema wrapper.

ConditionalAxisString

ConditionalAxisString schema wrapper.

ConditionalMarkPropFieldOrDatumDef

ConditionalMarkPropFieldOrDatumDef schema wrapper.

ConditionalMarkPropFieldOrDatumDefTypeForShape

ConditionalMarkPropFieldOrDatumDefTypeForShape schema wrapper.

ConditionalParameterMarkPropFieldOrDatumDef

ConditionalParameterMarkPropFieldOrDatumDef schema wrapper.

ConditionalParameterMarkPropFieldOrDatumDefTypeForShape

ConditionalParameterMarkPropFieldOrDatumDefTypeForShape schema wrapper.

ConditionalParameterStringFieldDef

ConditionalParameterStringFieldDef schema wrapper.

ConditionalParameterValueDefGradientstringnullExprRef

ConditionalParameterValueDefGradientstringnullExprRef schema wrapper.

ConditionalParameterValueDefTextExprRef

ConditionalParameterValueDefTextExprRef schema wrapper.

ConditionalParameterValueDefnumber

ConditionalParameterValueDefnumber schema wrapper.

ConditionalParameterValueDefnumberArrayExprRef

ConditionalParameterValueDefnumberArrayExprRef schema wrapper.

ConditionalParameterValueDefnumberExprRef

ConditionalParameterValueDefnumberExprRef schema wrapper.

ConditionalParameterValueDefstringExprRef

ConditionalParameterValueDefstringExprRef schema wrapper.

ConditionalParameterValueDefstringnullExprRef

ConditionalParameterValueDefstringnullExprRef schema wrapper.

ConditionalPredicateMarkPropFieldOrDatumDef

ConditionalPredicateMarkPropFieldOrDatumDef schema wrapper.

ConditionalPredicateMarkPropFieldOrDatumDefTypeForShape

ConditionalPredicateMarkPropFieldOrDatumDefTypeForShape schema wrapper.

ConditionalPredicateStringFieldDef

ConditionalPredicateStringFieldDef schema wrapper.

ConditionalPredicateValueDefAlignnullExprRef

ConditionalPredicateValueDefAlignnullExprRef schema wrapper.

ConditionalPredicateValueDefColornullExprRef

ConditionalPredicateValueDefColornullExprRef schema wrapper.

ConditionalPredicateValueDefFontStylenullExprRef

ConditionalPredicateValueDefFontStylenullExprRef schema wrapper.

ConditionalPredicateValueDefFontWeightnullExprRef

ConditionalPredicateValueDefFontWeightnullExprRef schema wrapper.

ConditionalPredicateValueDefGradientstringnullExprRef

ConditionalPredicateValueDefGradientstringnullExprRef schema wrapper.

ConditionalPredicateValueDefTextBaselinenullExprRef

ConditionalPredicateValueDefTextBaselinenullExprRef schema wrapper.

ConditionalPredicateValueDefTextExprRef

ConditionalPredicateValueDefTextExprRef schema wrapper.

ConditionalPredicateValueDefnumber

ConditionalPredicateValueDefnumber schema wrapper.

ConditionalPredicateValueDefnumberArrayExprRef

ConditionalPredicateValueDefnumberArrayExprRef schema wrapper.

ConditionalPredicateValueDefnumberArraynullExprRef

ConditionalPredicateValueDefnumberArraynullExprRef schema wrapper.

ConditionalPredicateValueDefnumberExprRef

ConditionalPredicateValueDefnumberExprRef schema wrapper.

ConditionalPredicateValueDefnumbernullExprRef

ConditionalPredicateValueDefnumbernullExprRef schema wrapper.

ConditionalPredicateValueDefstringExprRef

ConditionalPredicateValueDefstringExprRef schema wrapper.

ConditionalPredicateValueDefstringnullExprRef

ConditionalPredicateValueDefstringnullExprRef schema wrapper.

ConditionalStringFieldDef

ConditionalStringFieldDef schema wrapper.

ConditionalValueDefGradientstringnullExprRef

ConditionalValueDefGradientstringnullExprRef schema wrapper.

ConditionalValueDefTextExprRef

ConditionalValueDefTextExprRef schema wrapper.

ConditionalValueDefnumber

ConditionalValueDefnumber schema wrapper.

ConditionalValueDefnumberArrayExprRef

ConditionalValueDefnumberArrayExprRef schema wrapper.

ConditionalValueDefnumberExprRef

ConditionalValueDefnumberExprRef schema wrapper.

ConditionalValueDefstringExprRef

ConditionalValueDefstringExprRef schema wrapper.

ConditionalValueDefstringnullExprRef

ConditionalValueDefstringnullExprRef schema wrapper.

Config

Config schema wrapper.

CsvDataFormat

CsvDataFormat schema wrapper.

Cursor

Cursor schema wrapper.

Cyclical

Cyclical schema wrapper.

Data

Data schema wrapper.

DataFormat

DataFormat schema wrapper.

DataSource

DataSource schema wrapper.

Datasets

Datasets schema wrapper.

DateTime

DateTime schema wrapper.

DatumDef

DatumDef schema wrapper.

Day

Day schema wrapper.

DensityTransform

DensityTransform schema wrapper.

DerivedStream

DerivedStream schema wrapper.

Dict

Dict schema wrapper.

DictInlineDataset

DictInlineDataset schema wrapper.

DictSelectionInit

DictSelectionInit schema wrapper.

DictSelectionInitInterval

DictSelectionInitInterval schema wrapper.

Diverging

Diverging schema wrapper.

DomainUnionWith

DomainUnionWith schema wrapper.

DsvDataFormat

DsvDataFormat schema wrapper.

Element

Element schema wrapper.

Encoding

Encoding schema wrapper.

EncodingSortField

EncodingSortField schema wrapper.

ErrorBand

ErrorBand schema wrapper.

ErrorBandConfig

ErrorBandConfig schema wrapper.

ErrorBandDef

ErrorBandDef schema wrapper.

ErrorBar

ErrorBar schema wrapper.

ErrorBarConfig

ErrorBarConfig schema wrapper.

ErrorBarDef

ErrorBarDef schema wrapper.

ErrorBarExtent

ErrorBarExtent schema wrapper.

EventStream

EventStream schema wrapper.

EventType

EventType schema wrapper.

Expr

Expr schema wrapper.

ExprRef

ExprRef schema wrapper.

ExtentTransform

ExtentTransform schema wrapper.

FacetEncodingFieldDef

FacetEncodingFieldDef schema wrapper.

FacetFieldDef

FacetFieldDef schema wrapper.

FacetMapping

FacetMapping schema wrapper.

FacetSpec

FacetSpec schema wrapper.

FacetedEncoding

FacetedEncoding schema wrapper.

FacetedUnitSpec

FacetedUnitSpec schema wrapper.

Feature

Feature schema wrapper.

FeatureCollection

FeatureCollection schema wrapper.

FeatureGeometryGeoJsonProperties

FeatureGeometryGeoJsonProperties schema wrapper.

Field

Field schema wrapper.

FieldDefWithoutScale

FieldDefWithoutScale schema wrapper.

FieldEqualPredicate

FieldEqualPredicate schema wrapper.

FieldGTEPredicate

FieldGTEPredicate schema wrapper.

FieldGTPredicate

FieldGTPredicate schema wrapper.

FieldLTEPredicate

FieldLTEPredicate schema wrapper.

FieldLTPredicate

FieldLTPredicate schema wrapper.

FieldName

FieldName schema wrapper.

FieldOneOfPredicate

FieldOneOfPredicate schema wrapper.

FieldOrDatumDefWithConditionDatumDefGradientstringnull

FieldOrDatumDefWithConditionDatumDefGradientstringnull schema wrapper.

FieldOrDatumDefWithConditionDatumDefnumber

FieldOrDatumDefWithConditionDatumDefnumber schema wrapper.

FieldOrDatumDefWithConditionDatumDefnumberArray

FieldOrDatumDefWithConditionDatumDefnumberArray schema wrapper.

FieldOrDatumDefWithConditionDatumDefstringnull

FieldOrDatumDefWithConditionDatumDefstringnull schema wrapper.

FieldOrDatumDefWithConditionMarkPropFieldDefGradientstringnull

FieldOrDatumDefWithConditionMarkPropFieldDefGradientstringnull schema wrapper.

FieldOrDatumDefWithConditionMarkPropFieldDefTypeForShapestringnull

FieldOrDatumDefWithConditionMarkPropFieldDefTypeForShapestringnull schema wrapper.

FieldOrDatumDefWithConditionMarkPropFieldDefnumber

FieldOrDatumDefWithConditionMarkPropFieldDefnumber schema wrapper.

FieldOrDatumDefWithConditionMarkPropFieldDefnumberArray

FieldOrDatumDefWithConditionMarkPropFieldDefnumberArray schema wrapper.

FieldOrDatumDefWithConditionStringDatumDefText

FieldOrDatumDefWithConditionStringDatumDefText schema wrapper.

FieldOrDatumDefWithConditionStringFieldDefText

FieldOrDatumDefWithConditionStringFieldDefText schema wrapper.

FieldOrDatumDefWithConditionStringFieldDefstring

FieldOrDatumDefWithConditionStringFieldDefstring schema wrapper.

FieldRange

FieldRange schema wrapper.

FieldRangePredicate

FieldRangePredicate schema wrapper.

FieldValidPredicate

FieldValidPredicate schema wrapper.

FilterTransform

FilterTransform schema wrapper.

Fit

Fit schema wrapper.

FlattenTransform

FlattenTransform schema wrapper.

FoldTransform

FoldTransform schema wrapper.

FontStyle

FontStyle schema wrapper.

FontWeight

FontWeight schema wrapper.

FormatConfig

FormatConfig schema wrapper.

Generator

Generator schema wrapper.

GenericUnitSpecEncodingAnyMark

GenericUnitSpecEncodingAnyMark schema wrapper.

GeoJsonFeature

GeoJsonFeature schema wrapper.

GeoJsonFeatureCollection

GeoJsonFeatureCollection schema wrapper.

GeoJsonProperties

GeoJsonProperties schema wrapper.

Geometry

Geometry schema wrapper.

GeometryCollection

GeometryCollection schema wrapper.

Gradient

Gradient schema wrapper.

GradientStop

GradientStop schema wrapper.

GraticuleGenerator

GraticuleGenerator schema wrapper.

GraticuleParams

GraticuleParams schema wrapper.

HConcatSpecGenericSpec

HConcatSpecGenericSpec schema wrapper.

Header

Header schema wrapper.

HeaderConfig

HeaderConfig schema wrapper.

HexColor

HexColor schema wrapper.

ImputeMethod

ImputeMethod schema wrapper.

ImputeParams

ImputeParams schema wrapper.

ImputeSequence

ImputeSequence schema wrapper.

ImputeTransform

ImputeTransform schema wrapper.

InlineData

InlineData schema wrapper.

InlineDataset

InlineDataset schema wrapper.

Interpolate

Interpolate schema wrapper.

IntervalSelectionConfig

IntervalSelectionConfig schema wrapper.

IntervalSelectionConfigWithoutType

IntervalSelectionConfigWithoutType schema wrapper.

JoinAggregateFieldDef

JoinAggregateFieldDef schema wrapper.

JoinAggregateTransform

JoinAggregateTransform schema wrapper.

JsonDataFormat

JsonDataFormat schema wrapper.

LabelOverlap

LabelOverlap schema wrapper.

LatLongDef

LatLongDef schema wrapper.

LatLongFieldDef

LatLongFieldDef schema wrapper.

LayerRepeatMapping

LayerRepeatMapping schema wrapper.

LayerRepeatSpec

LayerRepeatSpec schema wrapper.

LayerSpec

LayerSpec schema wrapper.

LayoutAlign

LayoutAlign schema wrapper.

Legend

Legend schema wrapper.

LegendBinding

LegendBinding schema wrapper.

LegendConfig

LegendConfig schema wrapper.

LegendOrient

LegendOrient schema wrapper.

LegendResolveMap

LegendResolveMap schema wrapper.

LegendStreamBinding

LegendStreamBinding schema wrapper.

LineConfig

LineConfig schema wrapper.

LineString

LineString schema wrapper.

LinearGradient

LinearGradient schema wrapper.

LocalMultiTimeUnit

LocalMultiTimeUnit schema wrapper.

LocalSingleTimeUnit

LocalSingleTimeUnit schema wrapper.

Locale

Locale schema wrapper.

LoessTransform

LoessTransform schema wrapper.

LogicalAndPredicate

LogicalAndPredicate schema wrapper.

LogicalNotPredicate

LogicalNotPredicate schema wrapper.

LogicalOrPredicate

LogicalOrPredicate schema wrapper.

LookupData

LookupSelection

LookupSelection schema wrapper.

LookupTransform

LookupTransform schema wrapper.

Mark

Mark schema wrapper.

MarkConfig

MarkConfig schema wrapper.

MarkDef

MarkDef schema wrapper.

MarkInvalidDataMode

MarkInvalidDataMode schema wrapper.

MarkPropDefGradientstringnull

MarkPropDefGradientstringnull schema wrapper.

MarkPropDefnumber

MarkPropDefnumber schema wrapper.

MarkPropDefnumberArray

MarkPropDefnumberArray schema wrapper.

MarkPropDefstringnullTypeForShape

MarkPropDefstringnullTypeForShape schema wrapper.

MarkType

MarkType schema wrapper.

MergedStream

MergedStream schema wrapper.

Month

Month schema wrapper.

MultiLineString

MultiLineString schema wrapper.

MultiPoint

MultiPoint schema wrapper.

MultiPolygon

MultiPolygon schema wrapper.

MultiTimeUnit

MultiTimeUnit schema wrapper.

NamedData

NamedData schema wrapper.

NonArgAggregateOp

NonArgAggregateOp schema wrapper.

NonLayerRepeatSpec

NonLayerRepeatSpec schema wrapper.

NonNormalizedSpec

NonNormalizedSpec schema wrapper.

NumberLocale

NumberLocale schema wrapper.

NumericArrayMarkPropDef

NumericArrayMarkPropDef schema wrapper.

NumericMarkPropDef

NumericMarkPropDef schema wrapper.

OffsetDef

OffsetDef schema wrapper.

OrderFieldDef

OrderFieldDef schema wrapper.

OrderOnlyDef

OrderOnlyDef schema wrapper.

OrderValueDef

OrderValueDef schema wrapper.

Orient

Orient schema wrapper.

Orientation

Orientation schema wrapper.

OverlayMarkDef

OverlayMarkDef schema wrapper.

Padding

Padding schema wrapper.

ParameterExtent

ParameterExtent schema wrapper.

ParameterName

ParameterName schema wrapper.

ParameterPredicate

ParameterPredicate schema wrapper.

Parse

Parse schema wrapper.

ParseValue

ParseValue schema wrapper.

PivotTransform

PivotTransform schema wrapper.

Point

Point schema wrapper.

PointSelectionConfig

PointSelectionConfig schema wrapper.

PointSelectionConfigWithoutType

PointSelectionConfigWithoutType schema wrapper.

PolarDef

PolarDef schema wrapper.

Polygon

Polygon schema wrapper.

Position

Position schema wrapper.

Position2Def

Position2Def schema wrapper.

PositionDatumDef

PositionDatumDef schema wrapper.

PositionDatumDefBase

PositionDatumDefBase schema wrapper.

PositionDef

PositionDef schema wrapper.

PositionFieldDef

PositionFieldDef schema wrapper.

PositionFieldDefBase

PositionFieldDefBase schema wrapper.

PositionValueDef

PositionValueDef schema wrapper.

Predicate

Predicate schema wrapper.

PredicateComposition

PredicateComposition schema wrapper.

PrimitiveValue

PrimitiveValue schema wrapper.

Projection

Projection schema wrapper.

ProjectionConfig

ProjectionConfig schema wrapper.

ProjectionType

ProjectionType schema wrapper.

QuantileTransform

QuantileTransform schema wrapper.

RadialGradient

RadialGradient schema wrapper.

RangeConfig

RangeConfig schema wrapper.

RangeEnum

RangeEnum schema wrapper.

RangeRaw

RangeRaw schema wrapper.

RangeRawArray

RangeRawArray schema wrapper.

RangeScheme

RangeScheme schema wrapper.

RectConfig

RectConfig schema wrapper.

RegressionTransform

RegressionTransform schema wrapper.

RelativeBandSize

RelativeBandSize schema wrapper.

RepeatMapping

RepeatMapping schema wrapper.

RepeatRef

RepeatRef schema wrapper.

RepeatSpec

RepeatSpec schema wrapper.

Resolve

Resolve schema wrapper.

ResolveMode

ResolveMode schema wrapper.

Root

Root schema wrapper.

RowColLayoutAlign

RowColLayoutAlign schema wrapper.

RowColboolean

RowColboolean schema wrapper.

RowColnumber

RowColnumber schema wrapper.

RowColumnEncodingFieldDef

RowColumnEncodingFieldDef schema wrapper.

SampleTransform

SampleTransform schema wrapper.

Scale

Scale schema wrapper.

ScaleBinParams

ScaleBinParams schema wrapper.

ScaleBins

ScaleBins schema wrapper.

ScaleConfig

ScaleConfig schema wrapper.

ScaleDatumDef

ScaleDatumDef schema wrapper.

ScaleFieldDef

ScaleFieldDef schema wrapper.

ScaleInterpolateEnum

ScaleInterpolateEnum schema wrapper.

ScaleInterpolateParams

ScaleInterpolateParams schema wrapper.

ScaleInvalidDataConfig

ScaleInvalidDataConfig schema wrapper.

ScaleInvalidDataShowAsValueangle

ScaleInvalidDataShowAsValueangle schema wrapper.

ScaleInvalidDataShowAsValuecolor

ScaleInvalidDataShowAsValuecolor schema wrapper.

ScaleInvalidDataShowAsValuefill

ScaleInvalidDataShowAsValuefill schema wrapper.

ScaleInvalidDataShowAsValuefillOpacity

ScaleInvalidDataShowAsValuefillOpacity schema wrapper.

ScaleInvalidDataShowAsValueopacity

ScaleInvalidDataShowAsValueopacity schema wrapper.

ScaleInvalidDataShowAsValueradius

ScaleInvalidDataShowAsValueradius schema wrapper.

ScaleInvalidDataShowAsValueshape

ScaleInvalidDataShowAsValueshape schema wrapper.

ScaleInvalidDataShowAsValuesize

ScaleInvalidDataShowAsValuesize schema wrapper.

ScaleInvalidDataShowAsValuestroke

ScaleInvalidDataShowAsValuestroke schema wrapper.

ScaleInvalidDataShowAsValuestrokeDash

ScaleInvalidDataShowAsValuestrokeDash schema wrapper.

ScaleInvalidDataShowAsValuestrokeOpacity

ScaleInvalidDataShowAsValuestrokeOpacity schema wrapper.

ScaleInvalidDataShowAsValuestrokeWidth

ScaleInvalidDataShowAsValuestrokeWidth schema wrapper.

ScaleInvalidDataShowAsValuetheta

ScaleInvalidDataShowAsValuetheta schema wrapper.

ScaleInvalidDataShowAsValuex

ScaleInvalidDataShowAsValuex schema wrapper.

ScaleInvalidDataShowAsValuexOffset

ScaleInvalidDataShowAsValuexOffset schema wrapper.

ScaleInvalidDataShowAsValuey

ScaleInvalidDataShowAsValuey schema wrapper.

ScaleInvalidDataShowAsValueyOffset

ScaleInvalidDataShowAsValueyOffset schema wrapper.

ScaleInvalidDataShowAsangle

ScaleInvalidDataShowAsangle schema wrapper.

ScaleInvalidDataShowAscolor

ScaleInvalidDataShowAscolor schema wrapper.

ScaleInvalidDataShowAsfill

ScaleInvalidDataShowAsfill schema wrapper.

ScaleInvalidDataShowAsfillOpacity

ScaleInvalidDataShowAsfillOpacity schema wrapper.

ScaleInvalidDataShowAsopacity

ScaleInvalidDataShowAsopacity schema wrapper.

ScaleInvalidDataShowAsradius

ScaleInvalidDataShowAsradius schema wrapper.

ScaleInvalidDataShowAsshape

ScaleInvalidDataShowAsshape schema wrapper.

ScaleInvalidDataShowAssize

ScaleInvalidDataShowAssize schema wrapper.

ScaleInvalidDataShowAsstroke

ScaleInvalidDataShowAsstroke schema wrapper.

ScaleInvalidDataShowAsstrokeDash

ScaleInvalidDataShowAsstrokeDash schema wrapper.

ScaleInvalidDataShowAsstrokeOpacity

ScaleInvalidDataShowAsstrokeOpacity schema wrapper.

ScaleInvalidDataShowAsstrokeWidth

ScaleInvalidDataShowAsstrokeWidth schema wrapper.

ScaleInvalidDataShowAstheta

ScaleInvalidDataShowAstheta schema wrapper.

ScaleInvalidDataShowAsx

ScaleInvalidDataShowAsx schema wrapper.

ScaleInvalidDataShowAsxOffset

ScaleInvalidDataShowAsxOffset schema wrapper.

ScaleInvalidDataShowAsy

ScaleInvalidDataShowAsy schema wrapper.

ScaleInvalidDataShowAsyOffset

ScaleInvalidDataShowAsyOffset schema wrapper.

ScaleResolveMap

ScaleResolveMap schema wrapper.

ScaleType

ScaleType schema wrapper.

SchemaBase

Base class for schema wrappers.

SchemeParams

SchemeParams schema wrapper.

SecondaryFieldDef

SecondaryFieldDef schema wrapper.

SelectionConfig

SelectionConfig schema wrapper.

SelectionInit

SelectionInit schema wrapper.

SelectionInitInterval

SelectionInitInterval schema wrapper.

SelectionInitIntervalMapping

SelectionInitIntervalMapping schema wrapper.

SelectionInitMapping

SelectionInitMapping schema wrapper.

SelectionParameter

SelectionParameter schema wrapper.

SelectionResolution

SelectionResolution schema wrapper.

SelectionType

SelectionType schema wrapper.

SequenceGenerator

SequenceGenerator schema wrapper.

SequenceParams

SequenceParams schema wrapper.

SequentialMultiHue

SequentialMultiHue schema wrapper.

SequentialSingleHue

SequentialSingleHue schema wrapper.

ShapeDef

ShapeDef schema wrapper.

SharedEncoding

SharedEncoding schema wrapper.

SingleDefUnitChannel

SingleDefUnitChannel schema wrapper.

SingleTimeUnit

SingleTimeUnit schema wrapper.

Sort

Sort schema wrapper.

SortArray

SortArray schema wrapper.

SortByChannel

SortByChannel schema wrapper.

SortByChannelDesc

SortByChannelDesc schema wrapper.

SortByEncoding

SortByEncoding schema wrapper.

SortField

SortField schema wrapper.

SortOrder

SortOrder schema wrapper.

Spec

Spec schema wrapper.

SphereGenerator

SphereGenerator schema wrapper.

StackOffset

StackOffset schema wrapper.

StackTransform

StackTransform schema wrapper.

StandardType

StandardType schema wrapper.

Step

Step schema wrapper.

StepFor

StepFor schema wrapper.

Stream

Stream schema wrapper.

StringFieldDef

StringFieldDef schema wrapper.

StringFieldDefWithCondition

StringFieldDefWithCondition schema wrapper.

StringValueDefWithCondition

StringValueDefWithCondition schema wrapper.

StrokeCap

StrokeCap schema wrapper.

StrokeJoin

StrokeJoin schema wrapper.

StyleConfigIndex

StyleConfigIndex schema wrapper.

SymbolShape

SymbolShape schema wrapper.

TextBaseline

TextBaseline schema wrapper.

TextDef

TextDef schema wrapper.

TextDirection

TextDirection schema wrapper.

TickConfig

TickConfig schema wrapper.

TickCount

TickCount schema wrapper.

TimeInterval

TimeInterval schema wrapper.

TimeIntervalStep

TimeIntervalStep schema wrapper.

TimeLocale

TimeLocale schema wrapper.

TimeUnit

TimeUnit schema wrapper.

TimeUnitParams

TimeUnitParams schema wrapper.

TimeUnitTransform

TimeUnitTransform schema wrapper.

TimeUnitTransformParams

TimeUnitTransformParams schema wrapper.

TitleAnchor

TitleAnchor schema wrapper.

TitleConfig

TitleConfig schema wrapper.

TitleFrame

TitleFrame schema wrapper.

TitleOrient

TitleOrient schema wrapper.

TitleParams

TitleParams schema wrapper.

TooltipContent

TooltipContent schema wrapper.

TopLevelConcatSpec

TopLevelConcatSpec schema wrapper.

TopLevelFacetSpec

TopLevelFacetSpec schema wrapper.

TopLevelHConcatSpec

TopLevelHConcatSpec schema wrapper.

TopLevelLayerSpec

TopLevelLayerSpec schema wrapper.

TopLevelParameter

TopLevelParameter schema wrapper.

TopLevelRepeatSpec

TopLevelRepeatSpec schema wrapper.

TopLevelSelectionParameter

TopLevelSelectionParameter schema wrapper.

TopLevelSpec

TopLevelSpec schema wrapper.

TopLevelUnitSpec

TopLevelUnitSpec schema wrapper.

TopLevelVConcatSpec

TopLevelVConcatSpec schema wrapper.

TopoDataFormat

TopoDataFormat schema wrapper.

Transform

Transform schema wrapper.

Type

Type schema wrapper.

TypeForShape

TypeForShape schema wrapper.

TypedFieldDef

TypedFieldDef schema wrapper.

URI

URI schema wrapper.

UnitSpec

UnitSpec schema wrapper.

UnitSpecWithFrame

UnitSpecWithFrame schema wrapper.

UrlData

UrlData schema wrapper.

UtcMultiTimeUnit

UtcMultiTimeUnit schema wrapper.

UtcSingleTimeUnit

UtcSingleTimeUnit schema wrapper.

VConcatSpecGenericSpec

VConcatSpecGenericSpec schema wrapper.

ValueDefWithConditionMarkPropFieldOrDatumDefGradientstringnull

ValueDefWithConditionMarkPropFieldOrDatumDefGradientstringnull schema wrapper.

ValueDefWithConditionMarkPropFieldOrDatumDefTypeForShapestringnull

ValueDefWithConditionMarkPropFieldOrDatumDefTypeForShapestringnull schema wrapper.

ValueDefWithConditionMarkPropFieldOrDatumDefnumber

ValueDefWithConditionMarkPropFieldOrDatumDefnumber schema wrapper.

ValueDefWithConditionMarkPropFieldOrDatumDefnumberArray

ValueDefWithConditionMarkPropFieldOrDatumDefnumberArray schema wrapper.

ValueDefWithConditionMarkPropFieldOrDatumDefstringnull

ValueDefWithConditionMarkPropFieldOrDatumDefstringnull schema wrapper.

ValueDefWithConditionStringFieldDefText

ValueDefWithConditionStringFieldDefText schema wrapper.

ValueDefnumber

ValueDefnumber schema wrapper.

ValueDefnumberwidthheightExprRef

ValueDefnumberwidthheightExprRef schema wrapper.

VariableParameter

VariableParameter schema wrapper.

Vector10string

Vector10string schema wrapper.

Vector12string

Vector12string schema wrapper.

Vector2DateTime

Vector2DateTime schema wrapper.

Vector2Vector2number

Vector2Vector2number schema wrapper.

Vector2boolean

Vector2boolean schema wrapper.

Vector2number

Vector2number schema wrapper.

Vector2string

Vector2string schema wrapper.

Vector3number

Vector3number schema wrapper.

Vector7string

Vector7string schema wrapper.

VegaLiteSchema

ViewBackground

ViewBackground schema wrapper.

ViewConfig

ViewConfig schema wrapper.

WindowEventType

WindowEventType schema wrapper.

WindowFieldDef

WindowFieldDef schema wrapper.

WindowOnlyOp

WindowOnlyOp schema wrapper.

WindowTransform

WindowTransform schema wrapper.

API Utility Classes#

expr

Utility providing constants and classmethods to construct expressions.

When

Utility class for when-then-otherwise conditions.

Then

Utility class for when-then-otherwise conditions.

ChainedWhen

Utility class for when-then-otherwise conditions.

Typing#