altair.VConcatSpecGenericSpec#

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.

Parameters:
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"

centerbool

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

Default value: false

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

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.

descriptionstr

Description of this mark for commenting purpose.

namestr

Name of the visualization for later reference.

resolvedict, Resolve

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

spacingfloat

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

Methods

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

copy([deep, ignore])

Return a copy of the object.

from_dict(dct[, validate])

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.