Skip to content

Commit

Permalink
docs: "Deprecated in" -> "Deprecated since"
Browse files Browse the repository at this point in the history
  • Loading branch information
dangotbanned committed Oct 20, 2024
1 parent e29a2f7 commit a0497e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions altair/utils/deprecation.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def _format_message(
message: LiteralString | None,
/,
) -> LiteralString:
output = f"\nDeprecated in `altair={version}`."
output = f"\nDeprecated since `altair={version}`."
if alternative:
output = f"{output} Use {alternative} instead."
return f"{output}\n{message}" if message else output
Expand Down Expand Up @@ -140,7 +140,7 @@ def deprecated_warn(
Every use should look like::
@deprecated_static_only(
"Deprecated in `altair=5.5.0`. Use altair.other instead.",
"Deprecated since `altair=5.5.0`. Use altair.other instead.",
category=None,
)
def old_function(*args): ...
Expand Down
2 changes: 1 addition & 1 deletion altair/vegalite/v5/theme.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def names(self) -> list[str]:
return super().names()

@deprecated_static_only(
"Deprecated in `altair=5.5.0`. Use @altair.theme.register instead.",
"Deprecated since `altair=5.5.0`. Use @altair.theme.register instead.",
category=None,
)
def register(
Expand Down

0 comments on commit a0497e0

Please sign in to comment.