Skip to content

Commit

Permalink
remove vega docs from importing.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
mattijn committed Jan 8, 2023
1 parent f27234c commit a288f35
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions doc/user_guide/importing.rst
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
.. _importing:

Importing Vega & Vega-Lite Versions
Importing Vega-Lite Versions
===================================

The main Altair API is based on version 5.X of `Vega-Lite`_. The core of the API,
found in the ``altair.vegalite.v5.schema`` module, is programmatically generated
from the Vega-Lite schema.

Altair additionally provides wrappers for some of the previous `Vega-Lite`_ schemas
and the current `Vega`_ schema (``altair.vega.v5``).
Altair additionally provides wrappers for some of the previous `Vega-Lite`_ schemas.

So, for example, if you would like to create Altair plots targeting Vega-Lite
version 3, you can use::
Expand All @@ -19,15 +18,8 @@ and then proceed to use the Altair version 3 API.

.. note::

We strongly recommend all users transition to Vega-Lite 5.x and Vega 5.x.
We strongly recommend all users transition to Vega-Lite 5.x.
These versions support many new features, are more stable, and Altair 5
works best with them.

Because Altair has focused primarily on the vega-lite API, the vega wrappers are
far less developed than the vega-lite wrappers, though it is possible to
create Vega plots using a very low-level Python interface that mirrors the
schema itself.


.. _Vega-Lite: http://vega.github.io/vega-lite/
.. _Vega: http://vega.github.io/vega/

0 comments on commit a288f35

Please sign in to comment.