Skip to content

Commit

Permalink
Add jupyter renderer doc section
Browse files Browse the repository at this point in the history
  • Loading branch information
jonmmease committed Dec 16, 2023
1 parent 86309ac commit cb24bd3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions doc/user_guide/display_frontends.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ The most used built-in renderers are:
newer versions of JupyterLab_, nteract_, and `VSCode-Python`_, but does not work
with the `Jupyter Notebook`_, or with tools like nbviewer_ and nbconvert_.

``alt.renderers.enable("jupyter")``
*(added in version 5.3.0):* Output the chart using :ref:`user-guide-jupyterchart`. This renderer
is compatible with environments that support third-party Jupyter Widgets including
JupyterLab_, `Jupyter Notebook`_, `VSCode-Python`_, and `Colab`_.
It requires a web connection in order to load relevant Javascript libraries.

In addition, Altair includes the following renderers:

- ``"default"``, ``"colab"``, ``"kaggle"``, ``"zeppelin"``: identical to ``"html"``
Expand Down
4 changes: 2 additions & 2 deletions doc/user_guide/jupyter_chart.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. _user-guide-jupyterchart:

JupyterChart Interactivity
==========================
JupyterChart
============
The ``JupyterChart`` class, introduced in Vega-Altair 5.1, makes it possible to update charts
after they have been displayed and access the state of :ref:`user-guide-interactions` from Python.

Expand Down

0 comments on commit cb24bd3

Please sign in to comment.