Skip to content

Commit

Permalink
Addressing review comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
ellisonbg committed Jul 4, 2017
1 parent ed482f1 commit 745eeb9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions doc/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ Does Altair work in more modern frontends such as JupyterLab or nteract
-----------------------------------------------------------------------

Yes! In fact, JupyterLab and nteract ship with builtin rendering for Vega
and VegaLite. This functionality is still being finalized, but this version
of Altair should work without any additional installations in these
fronteds. However, you will need to call the ``enable_mime_rendering`` function
to enable this support in Altair:
and VegaLite. As of the release of Altair version 1.3, this functionality is
still being finalized, but Altair should work without any additional
installations in these fronteds. However, you will need to call the
``enable_mime_rendering`` function to enable this support in Altair:

.. code-block: Python
Expand Down
4 changes: 2 additions & 2 deletions doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ Here is an example of using the Altair API to quickly visualize a dataset:
# load built-in dataset as a pandas DataFrame
cars = load_dataset('cars')

# Needed for rendering in JupyterLab, nteract, omit in the classic Jupyter Notebook
enable_mime_rendering()
# Uncomment for rendering in JupyterLab & nteract
# enable_mime_rendering()

Chart(cars).mark_circle().encode(
x='Horsepower',
Expand Down

0 comments on commit 745eeb9

Please sign in to comment.