This website is for Vega-Altair v4. Go to the
main Vega-Altair homepage
for the latest release.
Altair
4.2.2
Getting Started
Overview
Installation
Dependencies
Development Install
Basic Statistical Visualization
Gallery
Example Gallery
User Guide
Specifying Data in Altair
Encodings
Marks
Data Transformations
Bindings, Selections, Conditions: Making Charts Interactive
Top-Level Chart Configuration
Compound Charts: Layer, HConcat, VConcat, Repeat, Facet
Scale and Guide Resolution
Saving Altair Charts
Customizing Visualizations
Times and Dates in Altair
Frequently Asked Questions
Display Troubleshooting
Altair Internals: Understanding the Library
API Reference
Top-Level Objects
Encoding Channels
API Functions
altair.binding
altair.binding_checkbox
altair.binding_radio
altair.binding_range
altair.binding_select
altair.concat
altair.condition
altair.graticule
altair.hconcat
altair.layer
altair.repeat
altair.selection
altair.selection_interval
altair.selection_multi
altair.selection_single
altair.sequence
altair.sphere
altair.topo_feature
altair.value
altair.vconcat
Low-Level Schema Wrappers
Altair Ecosystem
Case Studies
Exploring Seattle Weather
Advanced Usage
Importing Vega & Vega-Lite Versions
Displaying Altair Charts
Renderer API
Customizing Renderers
Data transformers
Release Notes
Altair Change Log
Altair
»
API Reference
»
altair.layer
View page source
altair.layer
altair.
layer
(
*
charts
,
**
kwargs
)
layer multiple charts