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


class altair.VConcatSpecGenericSpec(vconcat=Undefined, bounds=Undefined, center=Undefined, data=Undefined, description=Undefined, name=Undefined, resolve=Undefined, spacing=Undefined, title=Undefined, transform=Undefined, **kwds)#

VConcatSpecGenericSpec schema wrapper Base interface for a vertical concatenation specification.

vconcatSequence[dict, Spec, FacetSpec, LayerSpec, RepeatSpec, FacetedUnitSpec, LayerRepeatSpec, NonLayerRepeatSpec, ConcatSpecGenericSpec, HConcatSpecGenericSpec, VConcatSpecGenericSpec]

A list of views to be concatenated and put into a column.

boundsLiteral[‘full’, ‘flush’]

The bounds calculation method to use for determining the extent of a sub-plot. One of full (the default) or flush.

  • If set to full, the entire calculated bounds (including axes, title, and legend) will be used.

  • If set to flush, only the specified width and height values for the sub-view will be used. The flush setting can be useful when attempting to place sub-plots without axes or legends into a uniform grid structure.

Default value: "full"


Boolean flag indicating if subviews should be centered relative to their respective rows or columns.

Default value: false

datadict, None, Data, UrlData, Generator, NamedData, DataSource, InlineData, SphereGenerator, SequenceGenerator, GraticuleGenerator

An object describing the data source. Set to null to ignore the parent’s data source. If no data is set, it is derived from the parent.


Description of this mark for commenting purpose.


Name of the visualization for later reference.

resolvedict, Resolve

Scale, axis, and legend resolutions for view composition specifications.


The spacing in pixels between sub-views of the concat operator.

Default value : 10

titlestr, dict, Text, Sequence[str], TitleParams

Title for the plot.

transformSequence[dict, Transform, BinTransform, FoldTransform, LoessTransform, PivotTransform, StackTransform, ExtentTransform, FilterTransform, ImputeTransform, LookupTransform, SampleTransform, WindowTransform, DensityTransform, FlattenTransform, QuantileTransform, TimeUnitTransform, AggregateTransform, CalculateTransform, RegressionTransform, JoinAggregateTransform]

An array of data transformations such as filter and new field calculation.

__init__(vconcat=Undefined, bounds=Undefined, center=Undefined, data=Undefined, description=Undefined, name=Undefined, resolve=Undefined, spacing=Undefined, title=Undefined, transform=Undefined, **kwds)#


__init__([vconcat, bounds, center, data, ...])

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 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