Skip to content

Commit

Permalink
remove mentioning alternative for vega wrappers
Browse files Browse the repository at this point in the history
  • Loading branch information
mattijn committed Jan 21, 2023
1 parent 62fc1cc commit 4e34995
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions altair/vega/v5/__init__.py
Expand Up @@ -16,7 +16,6 @@
)

warnings.warn(
"The module altair.vega.v5 is deprecated and will be removed in Altair 5. "
"Use `import altair as alt` instead of `import altair.vega.v5 as alt`.",
"The module altair.vega.v5 is deprecated and will be removed in Altair 5.",
AltairDeprecationWarning,
)
3 changes: 1 addition & 2 deletions altair/vega/v5/display.py
Expand Up @@ -95,8 +95,7 @@ class Vega(Displayable):


@deprecated(
"Rendering Vega specifications is deprecated and will be removed in Altair 5. "
"Use `import altair as alt` instead of `import altair.vega.v5 as alt`."
"Rendering Vega specifications is deprecated and will be removed in Altair 5."
)
def vega(spec, validate=True):
"""Render and optionally validate a Vega 5 spec.
Expand Down

0 comments on commit 4e34995

Please sign in to comment.