Skip to content

Commit

Permalink
docs: Add callout referencing change
Browse files Browse the repository at this point in the history
  • Loading branch information
dangotbanned committed Sep 5, 2024
1 parent d9899f5 commit e6a9b9c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions doc/user_guide/interactions/parameters.rst
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,11 @@ Conditions & Filters
Conditional Encodings
^^^^^^^^^^^^^^^^^^^^^

.. note::

This material was changed considerably with the release of Altair ``5.5.0``.
:func:`when` was introduced in ``5.4.0`` and should be preferred over :func:`condition`.

The example above is neat, but the selection interval doesn't actually *do* anything yet.
To make the chart respond to this selection, we need to reference ``brush`` within
the chart specification. Here, we will use the :func:`when` function to create
Expand Down

0 comments on commit e6a9b9c

Please sign in to comment.