Installation

Functions to help install the Python Altair library

install_altair()

Install Altair Python package

check_altair()

Check the Altair installation

altair_version()

Installed versions of Altair, Vega, etc.

Charts

Functions and objects to construct chart-specifications

alt

Altair object

import_vega_data()

Import Vega datasets

as_chart()

Create Altair chart from vegaspec

as_vegaspec(<altair.vegalite.v3.api.TopLevelMixin>)

Coerce to vegaspec

`|`(<altair.vegalite.v3.api.TopLevelMixin>) `+`(<altair.vegalite.v3.api.TopLevelMixin>) `&`(<altair.vegalite.v3.api.TopLevelMixin>)

Altair plot concatenation

Rendering

Rendering functions re-exported from vegawidget

vegawidget

Create a Vega/Vega-Lite htmlwidget

vega_embed

Vega embed options

knit_print.altair.vegalite.v3.api.TopLevelMixin()

Knit-print method

image

Create or write image

Package

Overview of the package

altair

altair: Create and embed Vega-Lite charts using the Altair Python package

Deprecated

These functions are available in vegawidget

vw_as_json()

Coerce vegaspec to JSON

vegawidgetOutput()

Shiny-output for vegawidget

renderVegawidget()

Render shiny-output for vegawidget