Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix broken links #3802

Merged
merged 3 commits into from
Feb 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions altair/expr/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ class expr(_ExprRef, metaclass=_ExprMeta):
``ExprRef``

.. _Expressions:
https://altair-viz.github.io/user_guide/interactions.html#expressions
https://altair-viz.github.io/user_guide/interactions/expressions.html
.. _inline expression:
https://altair-viz.github.io/user_guide/interactions.html#inline-expressions
https://altair-viz.github.io/user_guide/interactions/expressions.html#inline-expressions
.. _vega expression:
https://vega.github.io/vega/docs/expressions/

Expand Down
2 changes: 1 addition & 1 deletion altair/vegalite/v5/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1338,7 +1338,7 @@ def param(
**kwds: Any,
) -> Parameter:
"""
Create a named parameter, see https://altair-viz.github.io/user_guide/interactions.html for examples.
Create a named parameter, see https://altair-viz.github.io/user_guide/interactions/parameters.html for examples.

Although both variable parameters and selection parameters can be created using
this 'param' function, to create a selection parameter, it is recommended to use
Expand Down
6 changes: 1 addition & 5 deletions tests/vegalite/v5/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -588,11 +588,7 @@ def test_when_labels_position_based_on_condition() -> None:


def test_when_expressions_inside_parameters() -> None:
"""
Test for [2144026368-2](https://github.com/vega/altair/pull/3427#issuecomment-2144026368).

Original [expressions-inside-parameters](https://altair-viz.github.io/user_guide/interactions.html#expressions-inside-parameters)
"""
"""Test for [2144026368-2](https://github.com/vega/altair/pull/3427#issuecomment-2144026368)."""
import polars as pl

source = pl.DataFrame({"a": ["A", "B", "C"], "b": [28, -5, 10]})
Expand Down
4 changes: 2 additions & 2 deletions tools/vega_expr.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,9 @@ def PI(cls) -> {return_ann}:
``ExprRef``

.. _Expressions:
https://altair-viz.github.io/user_guide/interactions.html#expressions
https://altair-viz.github.io/user_guide/interactions/expressions.html
.. _inline expression:
https://altair-viz.github.io/user_guide/interactions.html#inline-expressions
https://altair-viz.github.io/user_guide/interactions/expressions.html#inline-expressions
.. _vega expression:
https://vega.github.io/vega/docs/expressions/

Expand Down