-
-
Notifications
You must be signed in to change notification settings - Fork 802
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs:
when-then-otherwise
examples (#3492)
* docs: adapt `empty` note for `when`, `Then.when` * docs: Add example for `Then.when` * docs: Add an example to `Then.otherwise` * chore(typing): add pyright ignore Wasn't picked up in #3480 * docs: Add example for `When.then` Adapted from the final example in https://vega.github.io/vega-lite/docs/condition.html * docs: Add example for `ChainedWhen.then` * docs: Add real-world examples for `alt.when` Covers everything apart from chained when * docs: Update `polars.when` references Now all link to docs, rather than source code #3492 (comment) * feat: Add `__repr__` for `When`, `ChainedWhen` #3492 (comment) * Update altair/vegalite/v5/api.py Co-authored-by: Mattijn van Hoek <mattijn@gmail.com> --------- Co-authored-by: Mattijn van Hoek <mattijn@gmail.com>
- Loading branch information
1 parent
7fe29d3
commit e4fb2c9
Showing
1 changed file
with
128 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters