Skip to content

Commit

Permalink
Update area.rst (#3064)
Browse files Browse the repository at this point in the history
Fix #3055.
This PR changes the description so it is in line with the example connected to it. 
I think the specification is good as is, so the emphasis is on the `alt.Y2` and not on the `ci0` and `ci1`.
  • Loading branch information
mattijn authored May 19, 2023
1 parent 5d15325 commit 76f75d2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions doc/user_guide/marks/area.rst
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,7 @@ Adding the ``interactive`` method allows for zooming and panning the x-scale.

Ranged Area
^^^^^^^^^^^
Specifying ``x2`` or ``y2`` for the quantitative axis of area marks produce ranged areas. For example, we can use ranged area with the ``ci0`` and ``ci0``
:ref:`aggregation operators <encoding-aggregates>` to highlight 95% confidence interval of a line chart that shows mean values over time.
Specifying ``X2`` or ``Y2`` for the quantitative axis of area marks produce ranged areas. For example, we can use ranged area to highlight the mininium and maximum measured temperatures over time, aggregated by ``monthdate``.

.. altair-plot::
import altair as alt
Expand Down

0 comments on commit 76f75d2

Please sign in to comment.