Skip to content

Commit

Permalink
rename to jupyter_renderer
Browse files Browse the repository at this point in the history
  • Loading branch information
jonmmease committed Dec 14, 2023
1 parent d217166 commit c90d323
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions altair/vegalite/v5/display.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def svg_renderer(spec: dict, **metadata) -> Dict[str, str]:
)


def render_jupyter(spec):
def jupyter_renderer(spec: dict):
"""Render chart using the JupyterChart Jupyter Widget"""
from altair import Chart, JupyterChart

Expand All @@ -112,7 +112,7 @@ def render_jupyter(spec):
renderers.register("json", json_renderer)
renderers.register("png", png_renderer)
renderers.register("svg", svg_renderer)
renderers.register("jupyter", render_jupyter)
renderers.register("jupyter", jupyter_renderer)
renderers.enable("default")


Expand Down

0 comments on commit c90d323

Please sign in to comment.