Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 1.34 KB

installation.rst

File metadata and controls

43 lines (28 loc) · 1.34 KB
.. currentmodule:: altair

Installation

Altair can be installed, along with all its optional dependencies, using:

pip install "altair[all]"

If you are using the conda package manager, the equivalent is:

conda install -c conda-forge altair-all

At this point, you should be able to open any IDE compatible with Jupyter Notebooks, and execute any of the code from the :ref:`example-gallery`. For more information on how to display charts in various notebook environments and non-notebook IDEs, see :ref:`displaying-charts`. If you wish to install Altair with only the required dependencies, you can omit the [all]/-all suffix.

Altair can also be installed with just the dependencies necessary for saving charts to offline HTML files or PNG/SVG/PDF formats, using:

pip install "altair[save]"

Development Installation

Please see CONTRIBUTING.md for details on how to contribute to the Altair project.